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 vans. people. You must provide vans for the 49 or fewer...


Note: it C++ coding


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

Extracted text: 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 vans. 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 Have a nice trip! and 16 people riding in vans. Example Output 2: TRASPORTATION CENTER How many passengers are there? 49 There will be 0 buses with 50 people on each bus and 49 people riding in vans. Have a nice trip!

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here