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 to
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. Your project name should use the following standard xxxProjectName. xxx is your initials taken from the first three characters of your Cal Poly email 3. Read in the following 4. Name of customer 5. Car Type (Compact, Midsize, Sedan) 6. Number of week days 7. Number of weekend days (Weekends are Saturday, Sunday) 8. Amount customer paid for Rental 9. Use the standard national average for car rental to calculate the national cost of rental based on car selection and days used by customer
10. 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:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
