You must create a sales tracking program named SalesTracking.java. This program will use arrays to store and process monthly sales as well as compute average yearly sales, total sales for the year, and which month had the highest sales and which month had the lowest sales. You should use parallel arrays. Your first array (monthArray) should be initialized with all of the months. This array should have 12 locations of course. Your other array should be named monthlySales. Like your monthArray, this array should be 12 locations that store the amount of sales for each month.
The program should prompt the user for the sales for each month starting with January. The arrays (monthlySales and monthArray) should be created in main and passed to the methods as needed. Your program should have methods that do the following.
Your monthArray should have the following values.
You should demonstrate the use of loop and decision structures also. Use the lab forum to ask questions about this lab.
|Standard header included
and Lab Report
Must contain program’s name, student name, and description of the program
|Lab Report required (see template in doc sharing)|
|Use of methods||
|Implement all methods correctly (4 points each)|
|Use of arrays||
|Implement arrays correctly|
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more