Carton Box
Convert given binary number to its equivalent decimal number
A company manufactures packing cartons in four sizes, i.e. cartons to
accommodate 6 boxes, 12 boxes, 24 boxes and 48 boxes. Design a
program to accept the number of boxes to be packed (N) by the user
(maximum up to 1000 boxes) and display the break-up of the cartons
used in descending order of capacity (i.e. preference should be given to
the highest capacity available, and if boxes left are less than 6, an extra
carton of capacity 6 should be used.) Write a program in Java.
Answers
Answered by
0
Answer:
manufactures packing cartons in four sizes, i.e. cartons to
accommodate 6 boxes, 12 boxes, 24 boxes and 48 boxes. Design a
program to accept the number of boxes to be packed (N) by the user
(maximum up to 1000 boxes) and display the break
Explanation:
accommodate 6 boxes, 12 boxes, 24 boxes and 48 boxes. Design a
program to accept the number of boxes to be packed (N) by the user
(maximum up to 1000 boxes) and display the break-up of the cartons
used in descending order of capacity (i.e. preference should be given to
Similar questions
Computer Science,
3 months ago
Hindi,
3 months ago
Math,
6 months ago
World Languages,
10 months ago
Math,
10 months ago