Search & Find out

Thursday, November 26, 2009

antilog & exponential

 To find antilog & exponential


#include "stdio.h"
#include "conio.h"
#include "math.h"


void main ()
{
    double x,y;
    int n;
    clrscr ();
    printf("Welcome to Antilog & Exp solutions...");
    printf("\n\n Enter a number to find antilog : \n\n");
    scanf("%lf",n);
    x=logl(n);
    printf ("\nThe antilog of a no. %lf is %lf\n",n,x);

    printf("\n Enter a number to find exp. : ");
    scanf("%lf",n);
    y = exp(n);
    printf ("\n The exp. of the no. %lf is %lf ",n,y);

getch ();
}


Download the executable (.exe)  file for this program..
download

0 comments:

Post a Comment

 

My Blog List

Term of Use