A shop owner has 2 outlets namely a High Street Branch and Mall Branch, before Covid-19 lockdown the respective shops recorded sales as follows: high stree branch Quarter sales sales 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       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.

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...
icon
Related questions
Question

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

high stree branch

Quarter sales sales 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      
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 5 steps with 5 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
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 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)
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
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY