Question: In this exercise, you create an application for the Vans & More Depot, which rents vans for company outings. Each van can transport 1 0

In this exercise, you create an application for the Vans & More Depot, which rents vans for company outings. Each van can transport 10 people. The interface should allow the user to enter the number of people attending the outing. The application should calculate and display the number of vans that can be filled completely. It also should calculate and display the number of people who will need to find another way to get to the outing. For example, if 48 people are attending the outing, 40 of them will fit into four vans.
The remaining eight people will need to arrange for their own transportation. The output for this problem is the number of vans that can be filled completely, and the number of people remaining. The input is the number of people attending the outing.

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!