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

Popular posts from this blog

Customize User's Profile in ASP.NET Identity System

Lambda two tables and three tables inner join code samples