//De-Morgans rule apply.....
#include<stdio.h>
#include<math.h>
void main()
{
int y,x,n;
printf("Please enter the base(X)
and power (n) with space:");
scanf("%d %d",&x,&n);
y=pow(x,n);
printf("The result is y=x^n=
%d",y);
}