In what circumstances would a programmer use if-then-else


In what circumstances would a programmer use if-then-else instead of if-then? Also, What is the advantage of using the switch statement over a series of if-then-elsestatements? Lastly,Why does my code not recognize the "if/else" lines and fall through to the "then" code line?

Solution Preview :

Prepared by a verified Expert
Business Economics: In what circumstances would a programmer use if-then-else
Reference No:- TGS02892348

Now Priced at $10 (50% Discount)

Recommended (96%)

Rated (4.8/5)