top of page
Another useful application of conditionals is with user input. When we ask the user to input some data, we can use conditionals to differentiate whether this data is useful, or even appropriate. Overall, conditionals allow our code to do more specific tasks and ensures that are program can do exactly what we want.
Here are some nice practice problems that we've designed:
bottom of page