0

Write the code for sinx

sin x =opp/hyp

2nd Dec 2016, 9:31 AM
Hailand Tsegaye
Hailand Tsegaye - avatar
3 Answers
+ 2
#include <iostream.h> void main(){ double sinx, hyp, opp; cout<<"Enter the hypotenuse"; cin>>hyp; cout<<"Enter the side opposite to angle;" cin>>opp; sinx=opp/hyp; cout<<"sine of the angle is";<<sinx; }
2nd Dec 2016, 9:55 AM
Sandeep Chatterjee
0
thanks Sandra for your help
2nd Dec 2016, 1:26 PM
Hailand Tsegaye
Hailand Tsegaye - avatar
0
sorry I mean sandeep
2nd Dec 2016, 1:26 PM
Hailand Tsegaye
Hailand Tsegaye - avatar