c 2b 2b sin

Solutions on MaxInterview for c 2b 2b sin by the best coders in the world

showing results for - "c 2b 2b sin"
Caitlan
28 Oct 2017
1/* sin example */
2#include <stdio.h>      /* printf */
3#include <math.h>       /* sin */
4
5#define PI 3.14159265
6
7int main ()
8{
9  double param, result;
10  param = 30.0;
11  result = sin (param*PI/180);
12  printf ("The sine of %f degrees is %f.\n", param, result );
13  return 0;
14}