Write a program to get the value of sin (x) using a library
function , when x is given in degrees.
Answer / subrat
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
float x,value;
printf("\n Enter a degree to get its Sin(x)
value=");
scanf("%f",&x);
clrscr();
value=sin(x);
printf("\n Value of Sin(x)=%f",value);
getch();
}
| Is This Answer Correct ? | 16 Yes | 7 No |
What is the difference between method and message?
What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0
Is multimap sorted c++?
Will this c++ program execute or not?
Is c++ proprietary?
iam a fresher to Qt(GUI a c++ based framework software). i need to develop the basic applications on designer by drag and dropping mechanism...so pls send me the procedure to design applications?
Why we use #include conio h in c++?
What are the differences between a struct and a class in C++?
When should we use container classes instead of arrays?
What is c++ virtual inheritance?
How many ways can a variable be initialized into in C++?
What is the standard template library (stl)?