Programming Language is C++ Students from Biomedical Engineering Department, Chemical andMaterials Engineering Department, Civil Engineering Department,Computer Science
Question:
Programming Language is C++
Students from Biomedical Engineering Department, Chemical andMaterials Engineering Department, Civil Engineering Department,Computer Science Department, and Mechanical Engineering Departmentare planning to travel from Atlanta to Chicago October 1,2019. They plan to rent some vehicles to drive to Chicago.Suppose there are several choices for them:
A bus allows 60passengers; A van allows 13 passengers; A SUVallows 7passengers; A sedan allows 4passengers.The restriction isthat each vehicle must be used as full capacity as possible, inorder to minimize the total number of vehicles to rent. If there isonly one passenger, for example, we rent a sedan instead of otherlarger size vehicles. We also know that there are at maximum 5buses and at maximum 7 vans available on that day, and no limitednumber for either SUVs or sedans. Write a program to read the totalnumber of students(as passengers), and determine the minimum numberof vehicles they need to rent. For example, if there are 93students, they need one bus, two vans, one suv and zero sedan. Yourprogram should print the number of each type of vehicle needed,neatly formatted as shown in the sample output. However if thenumber of specified type of vehicle needed is zero, its name shouldnot display.
Essentials Of Modern Business Statistics With Microsoft Excel
ISBN: 9781285867045
6th Edition
Authors: David R. Anderson, Dennis J. Sweeney, Thomas A. Williams