Skip to content

Latest commit

 

History

History

control

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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