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 |
Which software is best for programming?
Is it possible for a member function to delete the pointer, named this?
If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3
What is class and structure in c++?
What are c++ manipulators?
Can we use struct in c++?
Explain the difference between realloc() and free() in c++?
Explain static and dynamic memory allocation with an example each.
What and all can a compiler provides by default?
Name some pure object oriented languages?
Write a program to find the Fibonacci series recursively.
What is c++ hiding?