Open the worksheet and complete each task.
Note, the starter code does not include exception handling and the program will crash with invalid input.
As a computer scientist, you should be able to predict this and include appropriate exception handling in your code.
Submit your worksheet and .java file as instructed.
To help computer programs compare values, relational operators are used. Here is a table summarising those commonly used in Java:
| operator | description |
|---|---|
| > | greater than |
| < | less than |
| >= | greater than or equal to |
| <= | less than or equal to |
| == | the same as |
| != | not the same as |
selectionsequence if else compile relational operator syntax flowchartalgorithm