[SOLVED] CS150 Lab 14

25.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (1 vote)

Write a program that asks the user to enter the number of vanilla, strawberry, and chocolate ice cream cones sold by an ice cream shop each day for a week (total of 21 inputs). Store this data into a 2-dimensional array. Display the data from the array to the screen in a clear, readable table (hint: Try using setw to line up the table). Your table should also display the total cones sold each day, the total cones of each flavor sold for the week, and the total cones overall sold for the week.

Test Case 1:
Test with inputs of your choice.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.