Question: Create a Java Program to display an auto purchase plan. 1. Inside the main() method, do the following: A. Create a variable for a Car

 Create a Java Program to display an auto purchase plan. 1.
Inside the main() method, do the following: A. Create a variable for

Create a Java Program to display an auto purchase plan. 1. Inside the main() method, do the following: A. Create a variable for a Car Model. Prompt to Enter a Car Model and assign the input to this variable. Example input would be "Toyota", "Chevy", "Ford", etc. B. Create a variable to store your expected Monthly Payment. Prompt for the Expected Monthly Payment and assign the input to this variable. This data type should be a double. C. Create a variable to store the number of months you plan to make payments. Prompt for the number of payments and assign the input to this variable. 2. Create a void method (Per Chapter 4) that has the following 3 parameters:The method in step 2 should calculate my total costs( MonthlyPayment* Nbrof Months). A. Car Model B. Expected Monthly Payment C. Expected Number of Payment Months 3. 4. The method in step 2 should display the following. Replace the with your variable results. A. "I am looking for a car that I can pay months. My total cost would be ". B. The monthly Payment and total cost should be formatted to round to 2 decimal places. Review Section 3.6. 5. Finally - you must call the method in step2 from the main() method. Study the program on page 58 for Example Input/Output: Enter a Car Model: Toyota Enter the Expected Monthly Payment: 200.00 Enter the Number of Payments to make: 40 I am looking for a Toyota car that I can pay 200.00 per month for 40 months. My total cost would be 8000.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!