Question: 8a. Critical Thinking Exercise: Design a program for a trucking company that has seven trucks in its fleet. Each truck is identified by a number

8a. Critical Thinking Exercise: Design a program for a trucking company that has seven trucks in its fleet. Each truck is identified by a number from one to seven and has a maximum weight allowance, which has already been determined. Assign the maximum weight limit to each truck at initialization. Before a truck can begin its route it must be weighed to see if it falls within its weight allowance. Ask the user for the truck member and the loaded weight. Display a message indicating whether the truck falls in the allowable weight limit. Use the following values as maximum weight limits, antiepthe weigh-in values for each truck. Truck Weigh-In (in lbs) Truck Number Maximum Weight Limit (in lbs) 1 50,000 2 25,000 3 20,000 4 35,000 5 40,000 6 25,000 7 30,000 45,000 30,000 20,000 30,000 35,000 27,000 20,000 Write your design in the following space. Your design should be a list of C++ comments without any code. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
