+ 1
In writing a code that can be understood by a 5 year old kid, is it preferable to use the switch syntax or the if else if syntax
Considering the fact that the kid does not understand complex codes.
4 Answers
+ 2
probably if else
+ 2
Switch statement will be preffered if you high number different inputs to test.
For example you ste coding a calculator with many different operation such as + * % - / etc.
+ 1
If you want to teach little ones there are many softwares are there like Example Scratch for kids it can help them visualize the programing code and help them to fun with learn I have also started with it and its pretty fun
0
I started my child here over the summer.
https://www.tynker.com/