As of now, my program completely skips over allowing the user to enter input into the var "runAgain". I understand putting "myScanner.nextLine();" directly after runAgain would fix this problem. However it also requires the user to enter again. I would like to avoid this if possible. Any solutions? Thanks.
System.out.print("\nRun #" + count + "? ");
runAgain = myScanner.nextLine();
if () {
end program;
}
else {
re-run program;
}