Question: Write a statement using a conditional operator to do the following: if x is less than y, set z equal to 20. Otherwise, set z
Write a statement using a conditional operator to do the following:
if x is less than y, set z equal to 20. Otherwise, set z equal to 0.
C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
