Starting from:

$10

write a class called MotorSales Solution

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