Two robots land with their parachutes on an infinite one-dimensional number line. They both release their parachutes as soon as they land and start moving. They are allowed only to make use of the following functions.
Write a function in order to make the robots meet each other. Robots will be executing the same copy of this function.
=========================================================
for (int i = 0; i < distance; ++i) {
if (onTopOfParachute()) {
for (int i = 0; i < distance; ++i) {