Question: Java 1 . You are to write a simple program that asks the user for input, processes the input, and then outputs a result back

Java
1. You are to write a simple program that asks the user for input, processes the input, and then
outputs a result back to the user.
2. Read in the following
3. Name of customer
4. Car Type (Compact, Midsize, Sedan)
5. Number of week days
6. Number of weekend days (Weekends are Saturday, Sunday)
7. Amount customer paid for Rental
8. Use the standard national average for car rental to calculate the national cost of rental based on
car selection and days used by customer
9. Compare your result with what the customer paid and determine whether the rental was.
a. Expensive (the rental is expensive if it costs $5 more than national average)
b. Bargain (the rental is a bargain if it costs $5 less than national average)
c. Average (the rental is average if it is at the $5 range plus or minus from the national
average)Your screens should look like this
INPUT SCREEN EXAMPLE
Welcome to the Car rental calculator
Enter First Name: xxxxxxxx
 Java 1. You are to write a simple program that asks

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!