If i run my program in IntelliJ, my input and output looks like this:
INPUT:
a
a
as
asfd
asd
OUTPUT:
a
a
The program reads 5 strings from keyboard, finds the shortest string, displays it, and displays multiples if more than one are the shortest. Yet, none of the conditions pass. The previous task was almost the same, just looking for the maximum number, I'm not sure where I'm going wrong.