Uzair Khan

Results 2 issues of Uzair Khan

The switch case explanation is a bit misleading . There should be a break statement after every case for it to function as an if-else statement, otherwise it will evaluate...

In order for the switch case shown to function as an if-else statement, a break statement was added after each case to separate them out.