A sweatshirt manufacturer wants to take inventory of the college logo sweatshirt
ID: 3640156 • Letter: A
Question
A sweatshirt manufacturer wants to take inventory of the college logo sweatshirts that has in stock. The company makes sweatshirts for seven colleges. Refer to the colleges by number, 1-7. Sweatshirts come in four sizes, small, medium, large and x-large. An employee gathers the inventory information by hand. Write a Python program that prompts the employee to enter the number of sweatshirts in stock for each of the seven colleges in each of the four 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
Size 1 2 3 4 5 6 7 Total
Small
Medium
Large
X-Large
College Total
Total Quantity on Hand
At the end of each row should be the total inventory of that size. At the bottom of each column should be total inventory 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
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.