A program that read any number x & display e to the power x in C.

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

void main()
{
    float n,e;
    clrscr();
    printf("Enter any number = ");
    scanf("%f",&n);
   
    e=exp(n);
    printf("\ne to the power %.2f = %.2f",n,e);

    getch();
}


///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........