Use of switch construct:
Declaration :
switch ( selection )
{ case 1: statement sequence
break;
case 2: statement sequence
case 3: statement sequence
default : error selection statement
}
Post a Comment
No comments:
Post a Comment