The packing department of a television vision set manufacturer has to prepare a requisition note listing the number of different boxes required for the different TV models that it has received from the production department. The list prepared has to be forwarded to the stores department so that the required boxes are issued to the packing department. The category and the number of boxes required for each type of TV model is given as follows:
C Programming Language / Data Types in C Language
1544Program:
Model Type | Box Type | Numbers |
TV-LCD 17 | 1 | 98 |
TV-LCD 22 | 2 | 79 |
TV-LCD 26 | 3 | 65 |
TV-LCD 32 | 4 | 43 |
TV-LCD 36 | 5 | 17 |
Output:
Enter number of TV-LCD 17 model to be packed:1 Enter number of TV-LCD 22 model to be packed:2 Enter number of TV-LCD 26 model to be packed:3 Enter number of TV-LCD 32 model to be packed:1 Enter number of TV-LCD 37 model to be packed:3 **** Requisition Note **** ======================================== TV Model | Box type | Numbers | required | ======================================== TV-LCD 17 1 1 TV-LCD 22 2 2 TV-LCD 26 3 3 TV-LCD 32 4 1 TV-LCD 37 2 3 ========================================Press any key to continue . . .
Explanation:
None
This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.
# C Tutorials
# JAVA Tutorials
# HTML Tutorials
# Computer Fundamental
# Data Structure
# DBMS Tutorials
SQL
# C# Language
# R Language
# PHP
# Python
# Vue JS