Question: Write a class that contains an array to keep track of yearly sales. YearlySales Class (Java eclipse) Member Variables: An array of double to hold

Write a class that contains an array to keep track of yearly sales.

YearlySales Class (Java eclipse)

Member Variables: An array of double to hold each months sales.

Methods: Average (calculates the avg sales for the year), Get/Set

Create a class called YearlySales. The class should have one member variable that is an array. The array should be defined such that it can hold sales figures for each month.

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!