You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: General_purpose_calc.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -232,8 +232,8 @@ else if(tas345 == 4)
232
232
}
233
233
else
234
234
{
235
-
System.out.println(" ERROR --> 6 or more terms are not supported ");
236
-
}
235
+
System.out.println(" ERROR --> \n> You might have entered a character instead of a number \n> Or you might have entered a number greater than 5 \n> Please note 6 or more terms are not supported yet !");
236
+
}
237
237
}
238
238
elseif(ch1 == '3') // This part gets executed if user enters "3"
239
239
{
@@ -321,7 +321,7 @@ else if(ch1 == '6')
321
321
doublecrPA = 2 * 3.14159 * crP;
322
322
System.out.println(" Your answer is --> " + crPA ); // value accurate upto 3 decimals only
323
323
break;
324
-
default :System.out.println(" ERROR --> 4 or more terms are not supported ");
0 commit comments