A shop owner has 2 outlets namely a High Street Branch and Mall Branch, before Covid19 lockdown the respective shops recorded sales as follows: High Street Branch Quarter Sales Q1                    42,000                   48,000                 50,000 Q2                    52,000                   58,000                 60,000 Q3                    46,000                   49,000                 58,000 Q4                    50,000                   51,000                 61,000 Mall Branch Quarter Sales Q1                    57,000                 63,000                  60,000 Q2                    70,000                 67,000                  72,000 Q3                    67,000                 65,000                  62,000 Q4                    72,000                 69,000                  75,000 As a programmer hired by the shops’ owner, write a java program to calculate: (a) the monthly combine sales figures for both shops; (b) the respective shops annual sales figures; (c) the grand annual combine total sales figures. Note: Your program must be implemented with arrays.

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter15: Deterministic Eoq Inventory Models
Section15.3: Computing The Optimal Order Quantity When Quantity Discounts Are Allowed
Problem 3P
icon
Related questions
Question

A shop owner has 2 outlets namely a High Street Branch and Mall Branch, before Covid19 lockdown the respective shops recorded sales as follows:


High Street Branch


Quarter Sales
Q1                    42,000                   48,000                 50,000
Q2                    52,000                   58,000                 60,000
Q3                    46,000                   49,000                 58,000
Q4                    50,000                   51,000                 61,000


Mall Branch

Quarter Sales
Q1                    57,000                 63,000                  60,000
Q2                    70,000                 67,000                  72,000
Q3                    67,000                 65,000                  62,000
Q4                    72,000                 69,000                  75,000


As a programmer hired by the shops’ owner, write a java program to calculate:


(a) the monthly combine sales figures for both shops;


(b) the respective shops annual sales figures;


(c) the grand annual combine total sales figures.


Note: Your program must be implemented with arrays.

Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Payback period
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage