Question: hi can anyone help me with this question 3 its urgent. its in java language .thank youu SALES INFORMATION Given weekly (5 working-day) employees' sales
hi can anyone help me with this question 3 its urgent.
its in java language
.thank youu
SALES INFORMATION Given weekly (5 working-day) employees' sales information with the following format. The unit entry of this table is RM (Ringgit Malaysia). Salesman 1 Salesman 2 Salesman 3 Salesman 4 Salesman 5 Monday (Day 1) 146.16 119.63 87.89 457 14 389.56 Tuesday (Day 2) 87.13 464.84 135.04 113.36 301.10 Wednesday Thursday Day 3) (Day 4) 105.53 63.76 205.62 413.55 271.87 35.67 290.84 274.01 192.06 137.68 Friday Day 5) 202.69 300.65 266.39 310.19 331.78 QUESTION 1 (30 minutes: solution by 4.30pm) Create a program that calculate the following Total amount of sales in a specific day (X). Total amount of sales by a specific salesman (1) Input format: First line is an integer N, represents the number of salesman. Followed by N lines, where each line contain 5 working day sales information. Then, followed by two integers, X and Y where X represents the respective day and Y represents the respective salesman of interest Output format: First line is the name of day, followed by a symbol colon, then the total amount Second line is the salesman info, followed by a symbol colon, then the total amount. Example of input and output: Output Tuesday: RM1121.47 Salesman 3: RM796.86 Input 5 146.16 87.13 105.53 63.76 202.69 119.63 484.84 205.62 413.55 300.65 87.89 135.04 271.87 35.67 266.39 457.14 113.36 290.84 274.01 310.19 389.56 301.10 192.06 137.68 331.78 23 QUESTION 3 (1 hour: solution by 6.00pm) Based on Question 1, create a program that calculate the following; Number of day with more than average number of sales per day. Number of salesman with more than average number of sales per saleman. Input format: First line is an integer N, represents the number of employees. Followed by N lines, where each line contain 5 working day sales information. Output format: First line is the number of day with total is more than average number of sales per day. Second line is the number of salesman with total is more than average number of sales per saleman. Example of input and output: Output 2 days) 3 person(s) Input 5 146.16 87.13 105.53 63.76 202.69 119.63 484.84 205.62 413.55 300.65 87.89 135.04 271.87 35.67 266.39 457.14 113.36 290.84 274.01 310.19 389.56 301.10 192.06 137.68 331.78
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
