Get Your If's Straight, Man!Computer Science Level 3
Let's take this method in Java:
1 2 3 4 5 6 7
Considering that the object
ticket belongs to the same class as this method and it has a method
getValue(Boolean discount), what is the minimum number of keywords that we need to use in the function body to express the exact same function?
elseare considered keywords.