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

Declaring Integer type Variable and storing Values in C++ programming

Swapping of Variables