A bar owner has 2 outlets namely a North Branch and Goil Branch, before COVID-19 lockdown the respective bars recorded sales as follows: North 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   Goil 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   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. Program must be implemented with arrays.

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter3: Performing Calculations With Formulas And Functions
Section: Chapter Questions
Problem 15RA
icon
Related questions
Question

A bar owner has 2 outlets namely a North Branch and Goil Branch, before COVID-19 lockdown the respective bars recorded sales as follows:

North 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

 

Goil 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

 

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.

Program must be implemented with arrays.

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer