a sweatshirt manufacturer wants to take inventory of the college logo sweatshirt
ID: 3641556 • Letter: A
Question
a sweatshirt manufacturer wants to take inventory of the college logo sweatshirts that it has in stock. the company makes sweatshirts for seven colleges. Refer to the colleges by number, 1 -7. sweatshirts come in4 sizes: small, medium, large, and x-large. An employee gathers the inventory information by hand. write a program that prompts the employee to enter the number of sweatshirts in stock for each of the seven colleges in each of the 4 sizes. Store the inventory information in a two-dimensional array. after inputting the inventory data, the program should display an inventory report in the following format.Inventory Report
College
1 2 3 4 5 6 7 Total
small
Medium
Size
Large
XLarge
College Total
Total quantity on hand
At the end of each row should be the total inventory for that size. at the bottom of each column should be total inventory of each college. The total quantity on hand should be the total inventory of all sweatshirts.
Explanation / Answer
#include using namespace std; int main() { int a[7][4]; for(int i=0;iRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.