Starting from:
$14.99

$8.99

MotorSales Solution (Best price and Top Grade Guaranteed)

write a class called MotorSales. the class accepts an array of numbers representing the sale of each car. apart from the constructor, write two mutator methods;

one called sum, that calculates the total sales

the other called findLowest, that finds the lowest sale amount

also write an accessor method that returns the total amount in sales




you are responsible for declaring the appropriate variables in the class

do not write a test class none is necessary

More products