Compare and contrast the three conditional statements we’ve used in class (if, if-else, switch). In what ways are these statements similar and in what ways are they different?
if and if else is similer because they are used together.If else is used when you already used the if statement. switches are different then both of them because its like when you use switches you have cases and the cases are like rooms.
No comments:
Post a Comment