Question: URGENT CPROGRAMMING (a) Evaluate y for each of the C expression below. Be sure to show a constant of the appropriate type. For example, 7.0
URGENT CPROGRAMMING
(a) Evaluate y for each of the C expression below. Be sure to show a constant of the appropriate type. For example, 7.0 rather than 7 for a double. Show your steps. No marks will be given if you do not show all the intermediary steps.
(i) y = 43 % 15 / 3 + 15 / 2
- y = 6.2 * 5 / 10 + 3.5
- y = 6 * 2.5 / 4 + (2.3 + 2.7) / 4
(iv)y = 59% 10 / (2 + 2) * 2.5 / 2
(v) a = 1; b = 2.; c = 3; y = ++a + b-- + c++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
