C Program
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main()
{
float x;
printf("Enter Value of X:");
scanf("%f",&x);
printf("The sin of the value is :%f\n",sin(x));
printf("The cos of the value is :%f\n",cos(x));
printf("The tan of the value is :%f\n",tan(x));
}
0 Comments:
Post a Comment