Lab 4 (2%) Due date 11/2/2025 : 11:59 PM
Arrays and Loops
- Use a
Scanner class to store sales amounts for 7 days. Use a loop to perform this action.
- Store all the sales amounts in an array.
- Print a table that shows all 7 days' sales records.
- Print the total sales of 7 days.
- Create an array method that will hold the sales records.
- Call your array method from the main method.
- Output screen:
-
How to Submit Lab?
- Please write your full name and email at the top of your file using a comment tag.
- Compile and run your program, entering all the required inputs.
- Take a screenshot of your result.
- Zip your project with the screenshot, source code, and upload it on Blackboard.
-
All assignments must be submitted via Blackboard on the due date. Assignments submitted through email are not accepted.