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 algorithm in c++ programming?
Can user-defined object be declared as static data member of another class?
Explain Memory Allocation in C/C++ ?
What is a stack c++?
Distinguish between new and malloc and delete and free().
Explain about templates of C++.
What is helper in c++?
write the programme that convert a interger to biniry number
What is recursion?
Is c++ used anymore?
Define token in c++.
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack