Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Write a program to get the value of sin (x) using a library
function , when x is given in degrees.



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

Post New Answer

More C++ General Interview Questions

What is auto type c++?

0 Answers  


How would you use the functions sin(), pow(), sqrt()?

0 Answers  


What are the c++ access specifiers?

1 Answers  


why v use c++ even we have microprocessor

2 Answers   CybAge,


Show the application of a dynamic array with the help of an example.

0 Answers  


What is c++ runtime?

0 Answers  


When should you use multiple inheritance?

2 Answers  


What does flush do c++?

0 Answers  


Can notepad ++ run c++?

0 Answers  


What is the use of data hiding?

0 Answers  


What is runtime errors c++?

0 Answers  


What are the steps in the development cycle?

0 Answers  


Categories