Question: Using Java, Program Instructions: Assume the age to get a senior citizen's discount is 60. Code a program that displays a qualifying message if the

Using Java, Using Java, Program Instructions: Assume the age to get a senior citizen's

Program Instructions: Assume the age to get a senior citizen's discount is 60. Code a program that displays a qualifying message if the person is equal to or greater than 60; otherwise, display a disqualifying message. Prompt 1: Prompts or asks the user to enter a value. Please enter your age: Output specification: The result is shown in one of two messages. Display the messages using a GUI window. Congratulations, you are eligible for a senior citizen's discount of 10%! OR NOT PART OF THE MESSAGE Linda Shepherd: Program instructions and code. Sorry, you don't qualify for a senior citizen's discount at this time

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!