Switch statement is the part of conditional structure in c++.
Switch statements are bit faster than if else statements.
The main difference between if else and switch statement is that when you have to check one value or one variable and multiple conditions than it is good to use switch statement. If you have to check multiple values or variables with multiple condition than it is best to use if else statements.
In this video i will show you that how to use switch statement in c++.
we create a program that will take a number from user and print the day equivalent to this number.
so watch the video if you have any question you can ask in comment section below.
C++ Tutorials For Beginners Playlist:
History And Main Features Of C++:
How To Download Code Blocks And Hello World Program In C++:
Variables And Data Types In C++:…