Search This Blog

C Program Find Power Of Given Number

C Program Find Power Of Given Number :
//C Program Find Power Of Given Number

#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int no,output,pw=3;
clrscr();
printf("\n Enter the value ");
scanf("%d", &no);
output=pow(no,pw);
printf("\n %d Power is=> %d", no,output);
getch();
}
OUTPUT
C Program Find Power Of Given Number

No comments:

Post a Comment