Exponential Power

Two numbers are entered through the keyboard.Write a program to show them one number raised to the power of another.
#include
#include
void main(void)
{
float a,s;
printf("Enter two numbers:");
scanf("%f%f",&a,&s);
printf("%.1e%.1f",a,s);
getch();
}

 

Comments

Popular posts from this blog

Tip of the Day # 13

Governor Generals of Pakistan