a. Implement the problem above using C/C++ programming language. Do apply the techniques for good programming practices. Ensure that appropriate validations are done on your input data. b. Sample Input: The user should be allowed to input the following information: i. Maximum weight a truck is allowed to carry ii. Number of oversized items to ship for the day iii. Weight of each oversized item iv. Priority status for oversized item (if applicable) Sample Output: i. Oversized items that were loaded into each truck ii. Amount of unused space (weight) for each truck iii. Number of trucks that were not utilized/loaded (if any) iv. List of oversized items that could not be shipped (including priority status, if applicable)
a. Implement the problem above using C/C++
b. Sample Input: The user should be allowed to input the following information:
i. Maximum weight a truck is allowed to carry
ii. Number of oversized items to ship for the day
iii. Weight of each oversized item
iv. Priority status for oversized item (if applicable)
Sample Output:
i. Oversized items that were loaded into each truck
ii. Amount of unused space (weight) for each truck
iii. Number of trucks that were not utilized/loaded (if any)
iv. List of oversized items that could not be shipped (including priority status, if applicable)
Step by step
Solved in 2 steps with 1 images