
In this lecture we will discuss more about Loop control.
- Switch – case commands
- Nested lops
- break command
- continue command
switch - case Command
There is no conditional statement used in this looping structure. It choose the code to be executed based on value of scalar or string, not just true/false. Different codes can be executed based on the value of the scalar defined in the switch command. The codes are defined using...