Program to find the sin cos tan value using math dot h
#include <math.h>
#include <stdio.h>
main()
{
double val = 30;
do {
printf("Cosine of %.f is %.2f\n", val, sin(val));
val += 5;
} while(val<=100);
//return 0;
getch();
}
Comments
Post a Comment