Question: Fn Programming (Email the C++ code) 10 BUILT-IN FUNCTIONS Filename: A3ques10.cpp Write a C++program that calls built-in functions sin and cos. The program prints a
Fn Programming (Email the C++ code) 10 BUILT-IN FUNCTIONS Filename: A3ques10.cpp Write a C++program that calls built-in functions sin and cos. The program prints a table of sin and cos for every degree from 10 to 30. The argument being passed to sin and cos must be double and it must be in radians. 0 Radians are related to degrees by the following equation: degrees radians 180 Suggested screen design: sin Degrees 10 2 coo 0.98 0.98 0.97 0.97 0.97 0.96 0.21 0.22 0.24 0.26 0.28 0.29 0.31 0.33 0.34 0.36 0.37 8.39 14 19 20 0.95 0.93 0.93 0.92 23 0.91 0.9 0.89 0.88 0.87 0.87 Press any key to continue . . 25 26 27 28 29 30 0.44 0.45 48 0.5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
