How to write switch case flowchart?
switch case statement:
switch( choice )
{
case 1:
statement 1;
break;
case 2:
statement 2;
break;
case 3:
statement 3;
break;
case n:
statement n;
}
(in above module n = number of cases.)
switch case flowchart:
Related programs:
switch case statement:
switch( choice )
{
case 1:
statement 1;
break;
case 2:
statement 2;
break;
case 3:
statement 3;
break;
case n:
statement n;
}
(in above module n = number of cases.)
switch case flowchart:
Figure: flowchart of switch case statement in C |
Related programs:
No comments:
Post a Comment