Tag: else if
-
Coding Challenge 4:
For this coding challenge, we are going to create a class called CodingChallenge4 and create a boolean variable called I_like_sushi . You can assign it either a true or false value based on whether you are a Sushi fan. Then, we are going to create an if and an else if statement. For the if…
-
Lesson 14: Else If Statements
Last lesson we learned about if else statements and how to get the computer to execute an else statement when the condition within our if statement is not met. In this lesson, we will be going over how to create an else if statement that is linked to the if else statement we learned the…