If/else if?



Maybe it's a stupid question, but I was just wondering why we don't have to use else if-statements in this exercise. I thought you always had to do that when there was more than one if. But here it seems enough to only use if each time. What's the logic behind that?



This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.