um1 * num2;
              break;
            case 4:
              result = num1 / num2;
              break;
            case 5:
              result = num1 % num2;
              break;
            case 6:
              break loop;
            default:
              alert("Invalid choice!");
              break;
          }
          console.log("Result = " + result);
          console.log("Choose whether to continue...");
          continueAgain = confirm("Do you want to continue?");
    