Design a program for a trucking company that has seven trucks in its fleet.

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 number 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 and enter the weigh-in values for each truck:
Truck Number Maximum Weight Limit (in lbs) Truck Weigh-In (in lbs)
1 50,000 45,000
2 25,000 30,000
3 20,000 20,000
4 35,000 30,000
5 40,000 35,000
6 25,000 27,000
7 30,000 20,000

what shoud I write this program
Topic archived. No new replies allowed.