Posts by Andrade Lucas • 19 points
2 posts
-
-2
votes1
answer314
viewsQ: how to terminate the input when using . hasNext() in java?
I’m using a code that uses Scanner (I named after input) and uses while(input.hasNextLine()), but he keeps asking for input, I know he has a specific command for it (something like /n) but I can’t…
javaasked Andrade Lucas 19 -
1
votes1
answer261
viewsQ: How to return the second lowest java value?
How to return the second smallest value given a series (of indefinite size) of numbers in java? I have the code that returns the smallest value, which looked like this: import java.util.Scanner;…
javaasked Andrade Lucas 19