switch-case problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

switch-case problem

How to use the switch case command to reach the desired case with one step, the time limit and the number of steps taken are considered to be optimal in order to achieve the desired conditions with the first comparison??

29th Feb 2024, 12:31 PM
Fateme Habibi
2 Answers
+ 2
It depends on the task.
29th Feb 2024, 12:44 PM
Lisa
Lisa - avatar
+ 2
if the condition is true than it will achieve the desired condition.
1st Mar 2024, 3:46 PM
Alhaaz
Alhaaz - avatar