#include<stdio.h> int main() {int a,b,r=1,n;printf("Please, Enter a number (base):"); scanf("%d",&n); printf("\nPlease, Enter it\'s power (exponent):"); scanf("%d",&a); b=a; while(a!=0) { r=r*n; a--; } printf("\nThe result of %d^%d = %d ",n,b,r); return 0;}