Q1. 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 Street Branch Quarter Q1 Q2 Q3 Q4 Sales 42,000 52,000 46,000 48,000 50,000 58,000 | 60,000 49,000 58,000 51,000 61,000 50,000 Mall Branch Quarter Q1 Q2 Q3 Sales 63,000 60,000 67,000 72,000 65,000 | 62,000 69,000 75,000 57,000 70,000 67,000 Q4 72,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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Question:
Q1. 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 Street Branch
Quarter
Q1
Q2
Q3
Sales
48,000 50,000
58,000 | 60,000
49,000 58,000
51,000 61,000
42,000
52,000
46,000
50,000
Q4
Mall Branch
Quarter
Q1
Q2
Sales
63,000 60,000
67,000 72,000
65,000 62,000
69,000 75,000
57,000
70,000
Q3
Q4
67,000
72,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.
Transcribed Image Text:Question: Q1. 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 Street Branch Quarter Q1 Q2 Q3 Sales 48,000 50,000 58,000 | 60,000 49,000 58,000 51,000 61,000 42,000 52,000 46,000 50,000 Q4 Mall Branch Quarter Q1 Q2 Sales 63,000 60,000 67,000 72,000 65,000 62,000 69,000 75,000 57,000 70,000 Q3 Q4 67,000 72,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
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education