Available under Creative Commons-ShareAlike 4.0 International License.
Using proper C++ syntax, convert the following if then else to a conditional expression.
Example 17.5: if then else
if (x ==y) { z = l4; } else { z++; }
- 2053 reads




