Could someone please give me an idea on how to do this?

Suppose you have a group of people that needs to be transported on buses and vans. You can charter a bus only if you can fill it. Each bus holds 50 people. You must provide cans for the 49 or fewer people who will be left over after you charter buses. Write a program that accepts a number of people and deterimins how many buses must be chartered and reports the number of people left over that must be placed on bans.

Also each van can hold 15 people. How many vans will be required?

Not looking for you guys to do it or anything...just need some help on where to start.

This requires just simple division (2nd grade or so math )

Number of busses = number of people / 50

out of the remainder from the above, the number of vans = number of people / 15

What's left is the number of cars needed.

You have to divide the quantum modulator by the physical denominator of the numerator of physical equations of the editorials on file. Then you

You have to divide the quantum modulator by the physical denominator of the numerator of physical equations of the editorials on file. Then you

Thanks auxny. That worked perfectly!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.