Problems
Write a program that sequentially accepts integers of three digits or less, terminates the program when 999 is entered, and outputs the maximum and minimum values entered up to that point.
The number of integers received is 100 or less.
Example
45 19 123 58 10 -55 16 -1 999
max : 123
min : -55
Source
자기주도C언어프로그래밍