C Programming Tutorial - 35: The Switch Statement

preview_player
Показать описание
Switch offers a pretty cool way of making decisions in your programs, it is an alternative to if-else statement and is the final decision making construct we are going to check out in this course.
Комментарии
Автор

These series of videos are the best tutorial for C programming, clear and concise! Thanks a lot!

tennis
Автор

One of the best channels for learning programming. I perfectly understood what I couldn't understand in class...

pramodkeshav
Автор

thank you so much, i've been working for my program for the last two days and after watching this i successfully run my program.

Angela-ywwc
Автор

For the multiplication and divisions cases, you forgot to change the operation. They both say "a-b". Just thought I'd point that out. :p

temp___
Автор

Dear you forget to change the operator for multiplication and division. But still it's a useful tutorial.👍.
Review videos before posting.

anokhautomation
Автор

how can i peform an oration before my switch case like example if the sum of my 3 numbers is greater thann 10 then peform case 1, , if greater than 14 peform case 2

takkamdarios
Автор

Well if I take input from user using scanf("%d%d", &a, &b);
It didn't work
It just take me to the invalid input rather than asking me for the operator

aayushgupta
Автор

Hey, what if I ask the user to give values of a & b? Will switch case still work?

SaniyaShoeb
visit shbcf.ru