Question: I need C++ code for this problem This is the expected output. This example is done for three days. But it must display for 7
I need C++ code for this problem

This is the expected output. This example is done for three days. But it must display for 7 days.

Instructions: Create a C++ console application for a small retail store. Prompt the user for store sales for each day of the week and the number of employees scheduled to work that day. After getting these values, display sales for each day, number of employees worked, and average sales per employee. Also display the best day(s) of the week based on the sales amount. Requirements: Create four parallel arrays. o One array initialized with seven days of the week (Sun, Mon, ....) One array to store daily sales o One array to hold the number of employees worked each day o One array to store the average daily sales per employee Store values in these arrays. Print the values stored in the arrays. Absolutely, positively, no global variables! Error checking: . Do not accept negative values for sales. o Do not accept less that one employee per day. Format your output using setw() and setprecision(). This application records daily sales. Please Enter sales for Sunday: $4200 How many salespeople worked on Sunday? 4, Please Enter sales for Monday: $1245.95 How many salespeople worked on Monday? 1, Please Enter sales for Tuesday: $3550.32 How many salespeople worked on Tuesday? 2 Sales Information: Day Sales Employees Sunday $4200.00 Monday $1245.95 Tuesday $3550.32 Average $1050.00 $1245.95 $1775.16 Best day(s): Sunday
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
