C Programming Tutorial 62 - When To Use Switch Over If

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

Switch does in fact work for ranges....

case 1 ... 6:

streetfighteryamahar
Автор

I think you can stop using if statements when you want to…switch things up.

😎

PunmasterSTP
Автор

28 likes?! I feel pity for those who are lazy to exit full screen to press "like"

rittenbrake
Автор

Correction (2:03): You can use for ranges, but you must specify the bounds of the range. For example: “case 0 … 49” will evaluate if any number is inputted between 0 and 49. The issue is when dealing with ranges like “if x is greater than 100 (implying the number can be infinitely large)”. That does not work

ethandasilva
Автор

I am learning C++ in another language. Hence Never programmed before. Your are saving my A$$ from failing this fully online class. Reading about programming is difficult imagine reading in another language. Thank you

melanyadames
Автор

there is just no reason to give this video a dislike :D

Gonzalo-obni
Автор

chef currry!!! why didnt you make these videos on Udemy?!

ryanhi
Автор

Could I use a bool as the control variable

dantedav
Автор

I have a recommendation to you.What about making an app to teach c programming free or online...It will also give education to us and millions of dollars:-)

dinukakumara
Автор

your hand writing is very close to mine

sairupesh
Автор

Good video! But I need to ask. Why does it sound like you are out of breath when you explaining programming concepts lol? Not trying to be mean, I’m legitimately just curious haha.

isynciswim