a
public text v1 · immutable#include<stdio.h>
#include<math.h>
#include<conio.h>
void main()
{
int a,b,c;
char ch;
while(1)
{
printf("\nEnter a base: ");
scanf("%d", &a);
printf("\nEnter it's power: ");
scanf("%d", &b);
c=pow(a,b);
printf("\t Base ============== Power\n");
printf("\t%d %d\n", a,c);
printf("\nDo You Want to Run This program Again?: Y/N\n");
scanf("%c", &ch);
if(ch=='Y')
{
continue;
}
else
{
break;
}
getch();
}
}