When we talk about ( if, switch, for..... etc) is this statements same thing in all programming language? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

When we talk about ( if, switch, for..... etc) is this statements same thing in all programming language?

conditions statement

29th May 2017, 1:38 PM
Muhamad Alalian
Muhamad Alalian - avatar
2 Answers
+ 2
Logically they are same everywhere, the syntax may differ based on the programming language
29th May 2017, 1:43 PM
Akshay Hegde
Akshay Hegde - avatar
+ 2
some languages don't have a switch statement at all
29th May 2017, 1:48 PM
LordHill
LordHill - avatar