Question: Q3) Write a program that will read two values double numbers x and a from the keyboard and then calculate the values of the following:
Q3) Write a program that will read two values double numbers x and a from the keyboard and then calculate the values of the following: y x24 2x 4 Hint: Use the pow () function z-sin(a) Output the results of y and z on the screen. Hint: To convert a to radians multiply it by Use 3.14159 Hint: You have to use the cmath library: consult the Library Reference panel in www.cplusplus.com to explore how to use the sin () and pow ) functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
