Minor cleanup

This commit is contained in:
2023-04-26 14:37:46 +03:00
parent 7fa667cb2d
commit 896fc1f4d4
2 changed files with 3 additions and 2 deletions

View File

@@ -23,6 +23,8 @@ public class Lab_1 {
b = input.nextInt();
} while (b > m);
input.close();
if ((a <= 0) && (n >= 0)) {
System.out.println("Error, division by zero, shutting down!");
System.exit(1);