Question: Using c++ code vans. 1. Suppose you have a group of people who need to be transported on buses and You can charter a bus

Using c++ code

 Using c++ code vans. 1. Suppose you have a group of

vans. 1. Suppose you have a group of people who need to be transported on buses and You can charter a bus only if you can fill it. Each bus holds 50 people. You must provide vans for the 49 or fewer people who will be left over after you charter buses. Write a complete program that accepts a number of people and determines how many buses must be chartered and reports the number of people left over that must be placed on vans. User input can be any content and it's bold and italicized for clarity. Example Output 1: TRASPORTATION CENTER How many passengers are there? 166 There will be 3 buses with 50 people on each bus and 16 people riding in vans. Have a nice trip! Example Output 2: TRASPORTATION CENTER How many passengers are there? 49 There will be o buses with 50 people on each bus and 49 people riding in vans. Have a nice trip

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!