Question: If a very large train is running a route consisting of s stops. At each stop it lets n people on and m people get

If a very large train is running a route consisting of s stops. At each stop it lets n people on and m people
get off. At the end of its route, how many people are on the train? You may assume that at each stop
there will be enough people to get on and get off, that the train is never empty or full.
Inputs:
Outputs:
 If a very large train is running a route consisting of

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!