Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java pseudocode help please. Write a program that uses a two-dimensional array to store the sales for the KSU bookstore for a month. The array

image text in transcribed
Java pseudocode help please.
Write a program that uses a two-dimensional array to store the sales for the KSU bookstore for a month. The array can be initialized with user input or initialized when the array is declared. Write two methods: one to calculate and return the average sales for the month and one to calculate and return the total sales for a week of sales. These methods MUST be your original code. Your program should output all the values in the array in rows and columns) and then output the average sales and the total sales for each week Sales Amounts Monday Tuesday Wednesday Thursday Friday Week 1 1234.55 2222.35 2400.15 2523.73 567.84 Week 2 1001.13 1101.01 923.92 907.57 250.15 Week 3 732.87 494.15 502.85 323.50 214.17 Week 4 551.15 442.25 383.89 383.89 627.19 627.19 239.18

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 15th International Conference Dasfaa 2010 International Workshops Gdm Benchmarx Mcis Snsmw Diew Udm Tsukuba Japan April 2010 Revised Selected Papers Lncs 6193

Authors: Masatoshi Yoshikawa ,Xiaofeng Meng ,Takayuki Yumoto ,Qiang Ma ,Lifeng Sun ,Chiemi Watanabe

2010th Edition

3642145884, 978-3642145889

More Books

Students also viewed these Databases questions