Question: Instructions: The provided C++ program demonstrates the use of an enumerated data type Day to represent weekdays. It should prompt the user to input sales
Instructions: The provided C++ program demonstrates the use of an enumerated data type Day to represent weekdays. It should prompt the user to input sales for five days and then calculates and displays the total sales. Prompt user for sales input Calculate total sales Display total sales Update the program to display the weekday names (e.g., "Monday" instead of 0). Modify the program to accept sales data for the entire week (Monday to Sunday). Add functionality to calculate and display the average daily sales. 4. Test the Program: Provide sample input and expected output, demonstrating the functionality of your modifications. 5. Submit Your Work: Provide a brief report summarizing your changes, including code snippets.
/1 This program demonstrates an enumerated data type in C++ #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
