#include int main(void){ int a, b, k, pow; printf("a = "); scanf("%d", &a); printf("b = "); scanf("%d", b); pow = 1; k = 0; while ( k < b ){ pow *= a; k++; } printf("%f^%f = %f\n", a, b, pow); } return 0; }