All pastes #982293 Raw Edit

a

public text v1 · immutable
·published 2008-04-12 13:00 UTC
rendered paste body
#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();
  }

}