Page 27 - PowerPoint Presentation
P. 27

Multi If-Else











            • Is it enough to use only if-else structure to solve the previous





                   problem?





            • We need more than one conditions to categorize the Ritcher




                   scale.





            • Solution: use multiway if-else or nested if
   22   23   24   25   26   27   28   29   30   31   32