Question: Java programming problem, could you please add comments // so that I know why you took the steps you did? Thank you! The shipping clerk
Java programming problem, could you please add comments "//" so that I know why you took the steps you did? Thank you!
The shipping clerk at the Redlands Handcrafted Bike Shop is faced with the following problem:
- Handcrafted bikes must be shipped in special containers.
- These containers are available in three sizes, large, medium, and small, which can hold 10, 5, and 1 handcrafted bike respectively.
Write an interactive Java program that reads the number of handcrafted bikes to be shipped and prints the number of large, medium, and small containers needed to send the shipment in the minimum number of containers and with the minimum amount of wasted space. TIP: Use contants for the number of bikes each size of container can hold. Execute this program three times and use the following numbers for input: Here are three example executions:

How many handcrafted bikes will be shipped? 26 You will need 2 large containter(s), 1 medium container(s), and 1 small container(s) How many handcrafted bikes will be shipped? 4 You will need 0 large containter(s), 0 medium container(s), and 4 small container(s) How many handcrafted bikes will be shipped? 42 You will need 4 large containter(s), 0 medium container(s), and 2 small container(s)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
