Switch Statement-Syntax - C++ Programming

Switch Statement:



Syntax:

switch(expression)
{
case (condition):
___statement___
break;
case (condition):
___statement___
break;
default:
___statement___
}

Comments

Popular posts from this blog

How to display the output in C++