You are viewing a single comment's thread. Return to all comments →
System.out.println(a); Then loop over -System.out.println(sc.next()); checking while scanner has next int That worked out just fine
Java Stdin and Stdout I
You are viewing a single comment's thread. Return to all comments →
System.out.println(a); Then loop over -System.out.println(sc.next()); checking while scanner has next int That worked out just fine