+ 1

Can anyone explain what is switch and case are

8th Mar 2022, 11:43 AM
FREE FIRE GAMING LIVE
FREE FIRE GAMING LIVE - avatar
2 Answers
+ 4
Switch statements will be explained in lesson 18 of the c++ sololearn course. Copy the code, change it, look at the outputs. If you need further help, please link an example of code that you don't understand.
8th Mar 2022, 12:26 PM
Lisa
Lisa - avatar
+ 1
In short: Switch/case is basically a more readable if/else if construct
8th Mar 2022, 1:02 PM
Matthias
Matthias - avatar