Write a program that evaluate y = xn

#include <stdio.h>
#include <conio.h>
#include <MATH.h>

void main()
{
       clrscr();
    int x,n;
       scanf("%d %d", &x, &n);
    printf("%.0lf",pow(x,n));
       getch();
}
Next Post Previous Post
No Comment
Add Comment
comment url