Define the following methods for the class Ledger, as described in the previous exercise:
• getAverageSale()—returns the average value of all the sales
• getCountAbove(v)—returns the number of sales that exceeded v in value
See the code in Ledger.java.
Computer Science & Information Technology
You might also like to view...
Horizontal placement of text within a placeholder is referred to as text alignment
Indicate whether the statement is true or false
Computer Science & Information Technology
Which Excel function would be used to calculate the total points a student earned on a series of tests?
A) MEDIAN B) SUM C) MAX D) AVERAGE
Computer Science & Information Technology