Question: Exercise 4 ( don ' t forget to add comments to your code ) : Create a C + + program that does the following:
Exercise dont forget to add comments to your code :
Create a C program that does the following:
a Prompts the user to enter a number.
b Displays the square root of the number using the sqrt function.
c Displays the power of the number raised to using the pow function.
d Displays the absolute value of the number using the fabs function.
e Displays the cosine and sine of the number in radians using the and functions.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
