#include int main(){ int i=0,x; int Prod=1; printf("Enter the value of x and n: (both positive int) \n"); scanf("%d %d",&x,&n); for (i=1; i<=n; i++){ Prod= Prod * x; } printf("Result of %d ^%d = %d\n", x, n, Prod); return 0; }