Question: Complete the following tasks: a. Design a class named AutomobileLoan that holds a loan number, make and model of automobile, and balance. Include methods to

Complete the following tasks:

a. Design a class named AutomobileLoan that holds a loan number, make and model of automobile, and balance. Include methods to set values for each data field and a method that displays all the loan information. Create the class diagram and write the pseudocode that defines the class.

b. Design an application that declares two AutomobileLoan objects and sets and displays their values.

c. Design an application that declares an array of 20 AutomobileLoan objects. Prompt the user for data for each object, and then display all the values.

d. Design an application that declares an array of 20 AutomobileLoan objects. Prompt the user for data for each object, and then pass the array to a method that determines the sum of the balances.

Step by Step Solution

3.31 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Diagram AutomobileLoan loanNum num make string model string balance num setLoanNumnumber num void setMakemake string void setModelmod string void setBalancebal num void displayValues void Pseudocode ... View full answer

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 Programming Logic & Design Questions!