Question: A ) v v v v Document 1 - Compatibility Mode - . - Maud Jean Louis Layout References Mailings Review View Help 1 1

A)vvvv
Document1- Compatibility Mode -.-
Maud Jean Louis
Layout References Mailings Review View Help
11.)(3) Create a "getCustomerIndex" private method to return the index in the array of the Customer Name. If the Customer ID is not found, return -1.
12.)(5) Create an "updateTransaction" method to accept a Customer Name, Transaction Type and Amount as parameter, and update the Total Amount. Print a message for a successful or unsuccessful transaction. Increase transaction count by 1 if successful. Valid Transaction Types are:
i. credit - increases total amount
ii. debit - decreases total amount
13.)(5) Create a "displayCustomerList" method that generates a summary report
i. The title is right justified with a minimum of 32 characters
ii. Column 1 is left justified with a minimum of 25 characters, and will display the Customer Name
iii. Column 2 is right justified with a minimum of 23 characters, and will display the Total Amount to two decimal place14.)(5) Create a "displayHistorgram" method that generates a transaction count report
The title is right justified with a minimum of 32 characters
Each name is right justified with a minimum of 27
characters. Include the customer ID number.
For each transaction, print an asterisk *.
Accessibility: Good to go
Focus
 A)vvvv Document1- Compatibility Mode -.- Maud Jean Louis Layout References Mailings

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!