Added several improvements III
This commit is contained in:
parent
8d7bcf26c4
commit
28ea4fa778
@ -18,6 +18,9 @@ public class Main {
|
||||
while(true) {run(args);
|
||||
System.out.println(("Do you want to continue (y/n)?"));
|
||||
Scanner scanner = new Scanner(System.in);
|
||||
if(args.length == 0) {
|
||||
break;
|
||||
}
|
||||
if(!scanner.nextLine().equals("y")) {
|
||||
System.out.println("Exiting \"Time Calc\".");
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user