Write a pseudocode to read the values x and y from the user

Write a pseudocode to read the values x and y from the user and calculate the result of the following expressions. You do not need to design a flowchart for this problem. (2x)^5 + x/y

Solution

read x(in C, scanf(\"%d\",&x) )

read y(in C, scanf(\"%d\",&y) )

compute m = x^5

compute d = x/y

total = (2^5)*m + d

print total

Write a pseudocode to read the values x and y from the user and calculate the result of the following expressions. You do not need to design a flowchart for thi

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site