3
1

Compare commits

..

No commits in common. "f489de94f71ce19e93da3015cae98aac10b2cd71" and "0fa5d15da6f03db1108b1d4e582e8d23d1dbb1a4" have entirely different histories.

View File

@ -44,23 +44,23 @@ class A3 {
switch (choice) { switch (choice) {
case 1: case 1:
System.out.println("Result: " + new A3().add(a, b)); new A3().add(a, b);
break; break;
case 2: case 2:
System.out.println("Result: " + new A3().sub(a, b)); new A3().sub(a, b);
break; break;
case 3: case 3:
System.out.println("Result: " + new A3().mul(a, b)); new A3().mul(a, b);
break; break;
case 4: case 4:
System.out.println("Result: " + new A3().div(a, b)); new A3().div(a, b);
break; break;
case 5: case 5:
System.out.println("## END OF CODE"); System.out.println("## END OF CODE");
System.exit(0); System.exit(0);
default: default:
System.out.println("Please choose a valid option."); System.out.println("Please choose a valid option.");
break; break;
} }
} }
} }