Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/carloan-class/
- Create a CarLoan Class that encapsulates the following elements of a car loan:
- Sales price of the car
- Down Payment or trade-in allowance
- number of months for the loan (term)
- APR
- Car loan payment
- Total Interest paid on loan
- Your class must have both a default and overloaded constructor (the overloaded constructor should have the appropriate parameters, given that some data elements should be read-only. Create a MainClass that declares and instantiates a CarLoan object. Use the following data values for the CarLoan:
- Sales price of the car : $40,000
- Down Payment or trade-in allowance: $15,000
- number of months for the loan (term): 48
- APR: 6%
- Download: http://solutionzip.com/downloads/carloan-class/
Add Comment
Please, Sign In to add comment