Question Details

[answered] Assignment 7 The management of a certain chain of supermark


send me the program as a java file and also a word document thank you?


Assignment 7

 

The management of a certain chain of supermarkets would like to know on a comparative basis the

 

performance of its supermarkets in each city. The data in the following table shows the amount of profit for

 

all of the supermarkets in each city.

 

City

 

Miami

 

Sunrise

 

Hollywood

 

Tallahassee

 

Jacksonville

 

Orlando

 

Gainesville

 

Pensacola

 

Ocala

 

Sebring Profit

 

$10,200,000.00

 

$14,600,000.00

 

$17,000,000.00

 

$$6,000,000.00

 

$21,600,000.00

 

$9,100,000.00

 

$8,000,000.00

 

$12,500,000.00

 

$2,000,000.00

 

$4,500,000.00 The information required must be presented in the following order:

 

1. Display the original data set, as shown in the table.

 

2. The average profit for the supermarket chain.

 

3. The city with the highest profit.

 

4. A list of all the cities with profit at, or above the average.

 

5. The cities and their profit listed in descending order of the profits.

 

To carryout this exercise:

 

(a) Design a class called Supermarkets that accepts two arrays - one containing the names of the

 

cities, and the other containing the profits. Write separate methods for each of the five (5)

 

activities stated in the list of requirements.

 

(b) Design a test class called TestSupermarket that:

 

i.

 

ii.

 

iii. Reads the data using the class GetData

 

Creates a Supermarket object using the arrays as arguments to its constructor.

 

Call the respective methods to carry out the requirements. NB: You may want to round these numbers to the nearest million.

 


Solution details:
STATUS
Answered
QUALITY
Approved
ANSWER RATING

This question was answered on: Sep 18, 2020

PRICE: $15

Solution~0001005056.zip (25.37 KB)

Buy this answer for only: $15

This attachment is locked

We have a ready expert answer for this paper which you can use for in-depth understanding, research editing or paraphrasing. You can buy it or order for a fresh, original and plagiarism-free copy from our tutoring website www.aceyourhomework.com (Deadline assured. Flexible pricing. TurnItIn Report provided)

Pay using PayPal (No PayPal account Required) or your credit card . All your purchases are securely protected by .
SiteLock

About this Question

STATUS

Answered

QUALITY

Approved

DATE ANSWERED

Sep 18, 2020

EXPERT

Tutor

ANSWER RATING

GET INSTANT HELP/h4>

We have top-notch tutors who can do your essay/homework for you at a reasonable cost and then you can simply use that essay as a template to build your own arguments.

You can also use these solutions:

  • As a reference for in-depth understanding of the subject.
  • As a source of ideas / reasoning for your own research (if properly referenced)
  • For editing and paraphrasing (check your institution's definition of plagiarism and recommended paraphrase).
This we believe is a better way of understanding a problem and makes use of the efficiency of time of the student.

NEW ASSIGNMENT HELP?

Order New Solution. Quick Turnaround

Click on the button below in order to Order for a New, Original and High-Quality Essay Solutions. New orders are original solutions and precise to your writing instruction requirements. Place a New Order using the button below.

WE GUARANTEE, THAT YOUR PAPER WILL BE WRITTEN FROM SCRATCH AND WITHIN YOUR SET DEADLINE.

Order Now