void main() { int x,n,result; clrscr();//to clear the scrren printf("Enter value of x and n:"); scanf("%d%d",&x,&n); result=pow(x,n); printf(" Result=%d",result); getch();//to stop the screen }
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.