Question: ISTE-120 Comp Prob for Information Domain I Homework Assignment # 6 DELIVERABLE Zip your files together and submit zip the file to the appropriate MyCourses

ISTE-120 Comp Prob for Information Domain I Homework Assignment # 6 DELIVERABLE Zip your files together and submit zip the file to the appropriate MyCourses dropbox. Homework MUST be submitted on time to receive full credit. Homework submitted to the "late" dropbox will receive a maximum grade of 80%. Homework not submitted to either dropbox will receive no credit. ASSIGNMENT This assignment is to write a program to calculate car purchase information. The program will require the use of Strings (including the substring method which you must learn about via the Java API), escape characters, the formatting of numbers using the printf (or String.format) method, calcating values and the Scanner class. NewCar Create a class called NewCar whose constructor accomplishes the following 1. 2. Takes in three String arguments for a car's year, make and model. Creates a String that has the full car description in it. e.g. 2014 Ford Fusion 3. Creates an abbreviation for the car that has the last two digits of year and the first letters of the make and model. e.g. 14FF 4. Initializes all other attributes to an initial value (0 or null). Create a method called calcFinalPrice that does the following: 1. Takes three double arguments for the sticker price, discount and sales tax rate 2. Returns final price calculated as: sticker_price discount + sales_tax The sales tax is applied to (sticker_price -discount). Often, car dealers offer zero interest loans for the purchase of a new car. Create a method called calczeroPctMonPayt that takes in an int argument for the number of months and returns the calculated monthly payment based on the final price. Create a toString method that takes in no arguments and returns the following string You want to purchase a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
