Question: Question 4: [9 marks] Below is a program that is supposed to ask the user to enter the age of the customer, then display the
Question 4: [9 marks] Below is a program that is supposed to ask the user to enter the age of the customer, then display the proper message as follows: If the age is greater than or equal to 60 , the message is: " Senior Discount". - If the age is greater than or equal to 18 and less than 60 , the message is: " No Discount". - If the age is less than 18 , the message is: "Junior Discount". \begin{tabular}{|c|} age input("Enter the age of the customer: ') \\ if age>60: \\ print('Senion Discount') \\ else if ages=18: \\ print('No Discount') \\ else: \\ print( Junior Discount') \end{tabular} However, this program was tested and was found to be incorrect. You are asked to write the correct program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
