To have more practice with conditional statements we are going to write a program which uses complex condition.
I.e. one if ... else
statement could be (and should be) nested inside other to solve this problem.
Several triplets of numbers are given to you. Your task is to select minimum among each of triplets.
Input data will contain in the first line the number of triplets to follow.
Next lines will contain one triplet each.
Answer should contain selected minimums of triplets, separated by spaces.
Example:
data:
3
7 3 5
15 20 40
300 550 137
answer:
3 15 137