
The Pace Trucking Company has hired you to improve its maintenance tracking. After a certain combination of miles and engine hours, truck engines are required to have preventative maintenance. The trucking company would like a program to allow the user to enter the truck's data and then display when the maintenance schedule should be performed. After the program asks for the number of trucks to be entered, users will enter the cab number, engine hours, and mileage into arrays. Use a loop to go back through the array, checking the hours or miles. If the engine hours are greater than 250, or the miles driven are greater than 6000, then the program should display the cab number and the words, Maintenance Schedule A. IF the hours are greater than 500 or the miles greater than 12000, the program should display the cab number and the message Maintenance Schedule B. Trucks with more than 1000 engine hours or 24,000 miles should display the cab number and the words Maintenance Schedule C.
Need this as soon as possible, please.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.