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 std :: endl?

0 Answers  


Is it possible for a member function to delete the pointer, named this?

0 Answers  


Do class declarations end with a semicolon?

0 Answers  


Why namespace is used in c++?

0 Answers  


What is the difference between Class and Structure?

40 Answers   HP, IBM, Samsung, TCS,


What is DlgProc?

0 Answers   C DAC,


What is a class template?

0 Answers  


What are the c++ access specifiers?

1 Answers  


Is c++ map a hash table?

0 Answers  


Describe the syntax of single inheritance in C++?

0 Answers   Fidelity,


What can I use instead of namespace std?

0 Answers  


Which bit wise operator is suitable for putting on a particular bit in a number?

0 Answers  


Categories