-->

program to get value of expression y raised to power of x

// program to get value of xy
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
float x,y;
float result;
printf(“enter x and y\n”);
scanf(“%f%f”,&x,&y);
result=pow(x,y); //pow() function exists inside math.h
printf(“the result is=%f\n”,result);
getch();
}


note: similarly you can get others' value.