C1S355 Lab 1 Sales Tracking Program – Guaranteed 100% score

Lab Price = $20
Please feel free to send us your queries at: [email protected]
Payment Methods

Add to Cart

Buy Now

View Cart


Problem Statement
iLab 1 of 6: Sales Tracking (40 points)
Note!
Submit your assignment to the Dropbox, located at the top of this page.
(See the Syllabus section “Due Dates for Assignments & Exams” for due dates.)
iLAB OVERVIEW
Scenario/Summary
In this iLab, you will learn how to write a console application in Java using the Eclipse IDE. The JDK Installation tutorial shows you how to download and install the JDK. The JDK is required for successful completion of this course.
JDK Installation tutorial
Play
00:00
Mute
FullscreenCaptions
Transcript
Transcript

Deliverables
Program files for the sales tracking program: SalesTracking.java
At the beginning of all your programs, put a comment box that includes the program name, your name, and a brief description of the program.
Example:
/***********************************************************************
Program Name: ProgramName.java
Programmer’s Name: Student Name
Program Description: Describe here what this program will do
***********************************************************************/
How to submit your assignment:
1. The program must have the same name as the assignment title (SalesTracking.java).
2. The Java source file (*.java) must include a corresponding class file (*.class) program as evidence of success.
3. In addition to the program source code file and byte code file, put your program source code file and screen shots of your program output files into a Word document.
4. You must use a zipped folder to send your weekly assignment to the Dropbox. Do not send subfolders within your zipped folder. Place all of the .java and .class file for the week into the one zipped folder. The zip folder should be named CIS355A_YourLastName_iLab_Week1, and this zip folder will contain all the weekly programming assignments.
Required Software
Eclipse
Access the software at https://lab.devry.edu.
iLAB STEPS
STEP 1: Simple Math Calculator
Back to Top
Write a Java program called SimpleMathCalculator.java that generates two random numbers and performs addition, subtraction, multiplication or division on the numbers.

Generating Random Numbers
0
Generating Random Numbers
STEP 1: SalesTracking.java
Back to Top
You must create a sales tracking program named SalesTracking.java. This program must track 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.
The program should prompt the user for the sales for each month starting with January. After all the monthly sales have been entered, your program should have methods that do the following.
• getSales(): This method prompts the users for the sale for each month. The return value for this method will be the amount that the user entered. This amount should be stored and returned into the corresponding location in the monthlySales array. For example, January sales should be stored in the first location, February sales should be stored in the second location, and so forth. This method should be enclosed in a loop to facilitate this process.
• computeTotalSales(monthlySales): This method receives the monthly sales array as an argument and returns the total sales of the year.
• computeAverageSales(monthlySales): This method receives the monthly sales array as an argument and returns the average sales for the year.
• computeHighestMonth(monthlySales): This method receives the monthly sales array as an argument. This method will search and compare the values of the monthly sales array for the highest value. Once the highest value has been determined, it will store the value in the value that corresponds with the index of that month. The method will return the index of the month with the highest value.
• computeLowestMonth(monthlySales): This method receives the monthly sales array as an argument. This method will search and compare the values of the monthly sales array for the lowest value. Once the lowest value has been determined, it will store the value in the value that corresponds with the index of that month. The method will return the index of the month with the lowest value.
• displaySaleInfo(totalSales, averageSales, highestMonth, highestSales, lowestMonth, lowestSales): This method will receive the total yearly sales, average monthly sale, the month with the highest sales, as well as the sales for that month and the month with the lowest sales. This method will display all of the data it received as arguments.
• All methods must be called from the main method. Sales amounts should be rounded to two decimal places. 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 and be populated with the getSales( ) method.
Your monthArray should have the following values.
monthArray
JANUARY FEBRUARY MARCH ….. ….. ….. NOVEMBER DECEMBER
You should demonstrate the use of loop and decision structures also. Use the lab forum to ask questions about this lab.
SalesTacking Points Description
Standard header included 1 Must contain program’s name, student name, and description of the program
Program compiles 2 Program does not have any error
Declaration of variables 4 Declare needed variables
Program executes 3 Program runs without any error
Use of decision statement(s) 5 Implement decision statements correctly
Use of loop statement(s) 5 Implement loop statements correctly
Use of methods 15 Implement all methods correctly
Use of arrays 5 Implement arrays correctly
Subtotal 40

Relevant Material
Screenshots
Instructions
* If you want to purchase multiple products then click on “Buy Now” button which will give you ADD TO CART option.Please note that the payment is done through PayPal.
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at [email protected].
* As soon as the payment is received, download link of the solution will automatically be sent to the address used in selected payment method.
* Please check your junk mails as the download link email might go there and please be patient for the download link email. Sometimes, due to server congestion, you may receive download link with a delay.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at [email protected] and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at [email protected].
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
Payment Details

 

Lab Price = $20
Please feel free to send us your queries at: [email protected]
Payment Methods

Add to Cart

Buy Now

View Cart

Privacy Policy
We take your privacy seriously and will take all measures to protect your personal information.
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
Refund Policy
Incase you face any issues with the tutorial, please free to contact us on [email protected]
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.


Leave a Reply