We now have the ability to link if statements to a UI control which is great. Now we are going to learn how to use them with Segments. Segments allow us to have multiple options.
Here is what mine looks like:
To do this we will use nested ifs and then proceed onto cases.
Task 1: Use Segments with nested if statements to populate the label.
Task 2: Use Segments with Switch Cases to populate the label.
Practical - Aussie Broadband
Now it is your turn. You are to make an app that allows a user to enter their monthly usage of GB ADSL download and suggests the correct plan and price based on Aussie Broadband plans as of Feb 2018.
Comments