C program to find nth power of a number

C program to find nth power of a number


Input:

Enter the number:
5
Enter the power to find pth power of n:
3

Output:

result of raising 5 to power of 3 is 125

Implementation: