#include /* exponentiation fun and games */ float power_func(float, float); int main() { float x, y, z; x = 5.0; y = 3.0; z = power_func(x, y); printf("%f to the power of %f equals %f\n", x, y, z); } float power_func(float a, float b) { float c; int i; c = a; for (i = 1; i < b; i++) { c = c * a; } return(c); }