Please help me with this JAVA practice. Please use a 2 dimensional array. Thank you You have been asked to write a program that creates a chart of sales data for Skunk Works, a company that fixes broken skunks. Skunk Works has five locations, numbered (conveniently) locations 1 through 5. Your program will ask the user for the last four weeks of sales data for each location. Then (after ALL the data has been entered), display the data in a nicely formatted table. In addition, your program will display total sales for each location, as well as for each week, and a grand total. Example: Location Week 1 Week 2 Week 3 Week 4 Total 1 $100.00 $150.00 $100.00 $100.00 $450.00 2 $500.00 $100.00 $200.00 $300.00 $1100.00 3 $100.00 $50.00 $100.00 $100.00 $350.00 4 $300.00 $300.00 $200.00 $100.00 $900.00 5 $100.00 $75.00 $500.00 $100.00 $775.00 Totals $1100.00 $675.00 $1100.00 $700.00 $3575.00 Note: You will need to use a two-dimensional array for this. The totals should not be stored in an array, but should instead be calculated on the fly. I suggest using a method that will add up the values in the array.
Please help me with this JAVA practice. Please use a 2 dimensional array. Thank you You have been asked to write a program that creates a chart of sales data for Skunk Works, a company that fixes broken skunks. Skunk Works has five locations, numbered (conveniently) locations 1 through 5. Your program will ask the user for the last four weeks of sales data for each location. Then (after ALL the data has been entered), display the data in a nicely formatted table. In addition, your program will display total sales for each location, as well as for each week, and a grand total. Example: Location Week 1 Week 2 Week 3 Week 4 Total 1 $100.00 $150.00 $100.00 $100.00 $450.00 2 $500.00 $100.00 $200.00 $300.00 $1100.00 3 $100.00 $50.00 $100.00 $100.00 $350.00 4 $300.00 $300.00 $200.00 $100.00 $900.00 5 $100.00 $75.00 $500.00 $100.00 $775.00 Totals $1100.00 $675.00 $1100.00 $700.00 $3575.00 Note: You will need to use a two-dimensional array for this. The totals should not be stored in an array, but should instead be calculated on the fly. I suggest using a method that will add up the values in the array.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Please help me with this JAVA practice. Please use a 2 dimensional array. Thank you
You have been asked to write a program that creates a chart of sales data for Skunk Works, a company that fixes broken skunks.
Skunk Works has five locations, numbered (conveniently) locations 1 through 5. Your program will ask the user for the last four weeks of sales data for each location. Then (after ALL the data has been entered), display the data in a nicely formatted table. In addition, your program will display total sales for each location, as well as for each week, and a grand total.
Example:
Location Week 1 Week 2 Week 3 Week 4 Total
1 $100.00 $150.00 $100.00 $100.00 $450.00
2 $500.00 $100.00 $200.00 $300.00 $1100.00
3 $100.00 $50.00 $100.00 $100.00 $350.00
4 $300.00 $300.00 $200.00 $100.00 $900.00
5 $100.00 $75.00 $500.00 $100.00 $775.00
Totals $1100.00 $675.00 $1100.00 $700.00 $3575.00
1 $100.00 $150.00 $100.00 $100.00 $450.00
2 $500.00 $100.00 $200.00 $300.00 $1100.00
3 $100.00 $50.00 $100.00 $100.00 $350.00
4 $300.00 $300.00 $200.00 $100.00 $900.00
5 $100.00 $75.00 $500.00 $100.00 $775.00
Totals $1100.00 $675.00 $1100.00 $700.00 $3575.00
Note: You will need to use a two-dimensional array for this. The totals should not be stored in an array, but should instead be calculated on the fly. I suggest using a method that will add up the values in the array.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY