Example: The Min Number

Write a program that inputs n integers (n > 0) and finds the min number among them. First enter the number of integers n, then n numbers more, one on each row.

Sample Input and Output

Input Output
2
100
99
99
3
-10
20
-30
-30
4
45
-20
7
99
-20

results matching ""

    No results matching ""