The case construct is basically not a loop since there is no iteration to the block of code.
But anyway degassed construct directs program flow according to condition at the top of that construct.
So it looks like we are starting with a keyboard case followed by some variable and then followed by
keyword in you know that variable value is not fixed.
It can change.
And here we are asking if a value of variable var is equal to some value.
If not we are skipping to another part of code where we are again asking is this value a variable we
are equal to this value.
If yes then this block of code is performed.
Please note that the block of code is ended by double semicolon and that values which we are comparing
the two variable.
In our case of a variable called Vihar are ending with derived.
Byron if in are ok's the value of variable var is not equal to value of condition 1 or condition 2.
Then the block of commands are represented by asterisk is therefore all CASE construct is then closed
using Issaq we've got to understand.
CASE construct better.
I will show some simple example here we are testing the value of command.
When my IF output of my is the road then we will print.
You are wrong.
If output of who am I is Richard then we will print you out Richard.
If output of my is not rude or Richard will print I don't know.
OK that was some short summary.
To case construct.
Now let's write some script to practice it.