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) JAVA 1. You are to write a simple program that asks the

Your screens should look like this INPUT SCREEN EXAMPLE Welcome to the Car rental calculator Enter First Name: Enter Last Name: Enter Car Type: Enter Week Days: Enter Weekend Days: Enter Rental Amount Paid: OUTPUT SCREEN EXAMPLE Car Rental Calculator Result Customer: Customer Full Name Value Car Type: Car Type Value Days: XX [Week days] XX [Weekend] Paid: XXXX National Average: XXXX Rental Comparison Result: (Expensive or Average or Bargain) Do you want to enter another rental? (Yes, No): YES OR NO Test Data Use the data provided below to test the program. National Rental Rates Week days Compact $29.99 Midsize $39.99 Sedan $49.99 Weekends $39.99 $49.99 $59.99 Customer Homer Simpson Bart Simpson Lisa Simpson Student Name Test Customers Days Car Type Tue, Wed, Thu Compact Mon,Tue, Wed, Thu Midsize Wed, Thu,Fri, Sat, Sun Sedan Thu, Fri, Sat Sedan Amount Paid $98.00 $152.96 $262.95 $161.00

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!