What will the program print for someone who is 8 years old when the base fare is $142?
Children's fare Your fare is: 0
Here is the program again. The airline has decided to add yet another price level. People that are at least 24 years old but less than 30 years old get a preferred fare with a RATE of 80% of full fare.
PRINT "Enter full fare" INPUT FARE PRINT "Enter age" INPUT AGE ' 'Calculate discount based on age IF AGE < 12 THEN PRINT "Children's fare" LET RATE = 0.0 ELSEIF AGE < 24 THEN PRINT "Student's fare" LET RATE = 0.70 ELSEIF AGE < 65 THEN LET RATE = 1.0 ELSE PRINT "Senior fare" LET RATE = 0.75 END IF 'Calculate fare PRINT "Your fare is:", FARE * RATE END
Add an ELSEIF and its branch to the program so that this new rate class is included.