Switch case inside if if else | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Switch case inside if if else

What syntax error in case loops: line 4 https://code.sololearn.com/wSu4oWRlxiQK/?ref=app

19th Jun 2022, 10:21 AM
prathiba singaravelu
prathiba singaravelu - avatar
2 Réponses
0
prathiba singaravelu Learn how to use and what is the syntax of switch You cannot make function inside if condition like that, You can call function but cannot make. remeber every statement should end with semicolon. https://code.sololearn.com/wCcP7AA43438/?ref=app
19th Jun 2022, 11:21 AM
A͢J
A͢J - avatar
- 1
Will you please answer this
19th Jun 2022, 10:21 AM
prathiba singaravelu
prathiba singaravelu - avatar