Added several improvements III

This commit is contained in:
Robert Vokac 2024-01-13 11:28:31 +00:00
parent 8d7bcf26c4
commit 28ea4fa778
No known key found for this signature in database
GPG Key ID: 693D30BEE3329055

View File

@ -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;