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: https://judge.softuni.bg/Contests/Practice/Index/507#0.

results matching ""

    No results matching ""