C++ Programming Blog

 
 
 

Image

 #include<iostream.h>
 #include<conio.h>
 #include<math.h>

 main()
    {
       clrscr();

       int x;

       float value;

       cout<<\"\\n Enter the value of x = \";
       cin>>x;

       value=sin(x);

       cout<<\" Sin (\"<<x<<\") = \"<<value<<endl;

       getch();
       return 0;
    }

 
 
Didn't find what you were looking for? Find more on Program to find the value of sin at any given angle