coder52 / Cpp-Primer-Solutions-2013

MIT License
0 stars 0 forks source link

page 152 Exercise 4.22: #12

Closed coder52 closed 3 years ago

coder52 commented 3 years ago

Extend the program that assigned high pass, pass, and fail grades to also assign low pass for grades between 60 and 75 inclusive. Write two versions: One version that uses only conditional operators; the other should use one or more if statements. Which version do you think is easier to understand and why?