Question: Write a C++ program to evaluate the following mathematical expression. Ask the user to input the values of the variables. A) (x+y)/2 B) squareroot (x^2
Write a C++ program to evaluate the following mathematical expression. Ask the user to input the values of the variables.
A) (x+y)/2
B) squareroot (x^2 + y^2)
C) ln(sin pie/4)
D) x^y
Thank you!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
