Printing the Output Data

After we have checked the distance conditions and we have calculated the price of the cheapest transport, we have to print it. The task does not specify how to format the result, therefore, we just print the variable.

Testing in the Judge System

Test your solution here:

results matching ""

    No results matching ""