Question: Please Show all the steps and explain. C++ OR Java Please do not provide the answer that's already in chegg. Qn3 (6 points, 2 points

Please Show all the steps and explain. C++ OR Java Please do not provide the answer that's already in chegg. Qn3 (6 points, 2 points each) Rewrite the following expressions using the conditional operator. (Assume that all variables are declared properly.) (a) if (x >= y) y ; else z = y Z = X X; (b) if (hours >= 40.0) wages = 40 7.50 + 1.5 * else wages hours * 7.50; * 7.5 * (hours - 40); (c) if (score >= 60) str "Pass"; else str = "Fail
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
