Dalun says to YSITD
while(scanf(“%d”,&num)!=EOF) min=min<=num?min:num ;