Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 303 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 303 Bytes

Instructions

Part 1

  • Replace the C++98-style for loop with a range-based loop
  • Replace the if / else statement with a conditional operator

Part 2

  • Replace the for loop with a while loop
  • Try it with a do / while loop

Part 3

  • Replace the if / else statement with a switch statement