Computers and Technology
01.01.2021 15:13
183
461
4
Solved by an expert

Java Eclipse homework. I need help coding this Project 9B - Tuition package: proj9B

Java Eclipse homework. I need help coding this Project 9B - Tuition

package: proj9B
class: Tuition

Write code using the if, else if and else statements that will take care of the following.

We are going to be writing code for a college to determine the cost of a students tuition. Use the following information for your program.

Collect and store the users First and Last Name.
Collect and store the users age and number of quarter credits.
Process the information and print an invoice showing the above information and include a projected tuition cost.
Program Parameters

Tuition for a course is free for people over the age of 65.
There is a fifty percent discount for those between the ages of 60 and 65.
Full-tuition cost is $250.00 per credit
Maximum credits is 18 per quarter.
(Note: Use appropriate (DecimalFormat) code to get the two zeros to print)

Example Printout:

Michael, Smith
Age: 62, Credits: 15
“You saved 50 percent on the cost of this course because you are between 60 and 65. Your cost is $1875.00.”

OR if age is >65: “Wow, are you lucky. Age is sometimes a real cool thing. This course is free for you!”

Make sure that it compiles and runs. When it does, save it according to your teacher’s directions.
Show Answers
zitlays
zitlays
4,8(91 marks)

I've included my code in a text file. I hope this helps!

qmsadler01
qmsadler01
4,5(55 marks)

summary*

Explanation:

Popular Questions about the subject: Computers and Technology

What best describes the association between the carbon cycle, plants, and animals?...
Computers and Technology
21.05.2023 03:06
You re trying to run a large computing job in which you need to simulate a physical...
Computers and Technology
06.07.2022 20:33
Pleaseee help i need it What action does the Fit in Window option in Audacity...
Computers and Technology
28.06.2021 19:01
Write a program that evaulatuates a card game called bridge. the input that...
Computers and Technology
30.03.2023 04:41
Need answer ASAP Select the correct answer. Dan, a developer has to fix a defect...
Computers and Technology
13.03.2021 01:49
Intro to computer science term 2 Test 9...
Computers and Technology
05.05.2020 09:57
A class named CafeService contains  Two data members i.e. the orderID and the...
Computers and Technology
02.08.2021 06:51
A parking lot has eight spaces, each with a sensor connected to RIM input A7,...
Computers and Technology
19.02.2022 15:36
Enter function in cell I6 that determines average salary of all full time employees...
Computers and Technology
10.09.2022 18:16
(pltw 2.0 robot c) #pragma config(Sensor, in2, potentiometer, sensorPotentiometer)...
Computers and Technology
23.08.2020 12:14

New questions by subject

What does the repeated reference to Jerry as the English Boy tell us about the...
Social Studies
13.09.2022 11:28
1. The angular velocity of a fan blade is 8.4 radians per second. Approximately...
Mathematics
20.03.2022 04:06
You are driving your vehicle and you see this traffic sign, one lane bridge....
Law
21.05.2021 22:51
What is your favorite song...
Mathematics
07.05.2022 04:42
Is nba youngboy balck or whith...
Business
04.09.2021 18:56
Write an essay about Gatsbys love for Daisy....
English
02.09.2022 11:13
Analyze and explain how the American Gothic painting and poem portray rural...
English
26.01.2023 14:13
Unemployment during the years following the recession...
History
31.12.2021 16:26
How did the Chinese impact the Korea war...
History
14.02.2021 23:49
#
#
#
#
# #

We expand our knowledge with many expert answers