Alpha to main #1

Merged
chris merged 5 commits from Alpha into master 2021-03-18 13:00:33 -04:00
2 changed files with 1 additions and 0 deletions
Showing only changes of commit ddc615456a - Show all commits

View File

@ -34,6 +34,7 @@ public class Calc {
int div2 = Integer.parseInt(num2); int div2 = Integer.parseInt(num2);
if (div2 == 0 || div1 == 0){ if (div2 == 0 || div1 == 0){
print("cant divide by zero"); print("cant divide by zero");
print("error code:");
return -1; return -1;
} }
return div1 / div2; return div1 / div2;