Question: In C Given the values of the integer variables a = 10, b = 6, and the floating point variables x = 10.5, y =
In C
Given the values of the integer variables a = 10, b = 6, and the floating point variables x = 10.5, y = 12.0 and w = 8.5, write a program that will compute the each of the following assignment statements. The variables s, t, and r are integers and l and m are floating point.
s = a b * 5 x / 2 + y
t = a * (x + b y) / 2
r = a / (2 + x + y)
m = x + a / 2 + b y * 5
l = a * 5 + b / 2 + x y + w
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
