subject

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.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:30
The salespeople at hyperactive media sales all use laptop computers so they can take data with them on the road. you are a salesperson for superduper lightspeed computers talking to hyperactive media sales about upgrading the laptops to windows 10. explain how network location awareness in windows 10 would make the laptops more secure.
Answers: 3
question
Computers and Technology, 23.06.2019 00:30
Which one of the following is the most accurate definition of technology? a electronic tools that improve functionality b electronic tools that provide entertainment or practical value c any type of tool that serves a practical function d any type of tool that enhances communication
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
The place where the extended axis of the earth would touch the celestial sphere is called the celestial
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Jace needs to answer a question on square roots to win a quiz. how can he use a spreadsheet to find the square root of 786? a. use the functions round and count b. create a table and chart c. use the function sqrt d. use the function now
Answers: 3
You know the right answer?
Java Eclipse homework. I need help coding this Project 9B - Tuition

package: proj9B
Questions
question
Geography, 31.03.2020 05:42
Questions on the website: 13722362