diff --git a/src/main/java/seedu/duke/userprofile/Userinfo.java b/src/main/java/seedu/duke/userprofile/Userinfo.java index b8c5b64125..e95d114ba6 100644 --- a/src/main/java/seedu/duke/userprofile/Userinfo.java +++ b/src/main/java/seedu/duke/userprofile/Userinfo.java @@ -51,15 +51,7 @@ public String getactivityfactor() { public void printNewUserCalculatedDetails() { - // try { - // if (Integer.parseInt(this.getactivityfactor()) > 5) { - // throw new IllegalArgumentException(); - // } - // } catch (IllegalArgumentException illegalArgumentException) { - // displayInvalidActivityFactorMessage(); - // } - - double activityMultiple = 0; + double activityMultiple; switch (Integer.parseInt(this.getactivityfactor())) { case 1: