Decision making is done using the if/else statement. See example below on the code to determine whether a person passed a test:
To handle more than 2 conditions, you will use the else if statement. This is similar to elif in python.
Last modified: Saturday, 24 January 2015, 10:40 AM