WAP to accept two numbers from the user and store them in variables N1 and N2. Compare
them and display “EQUAL” if both the numbers are the same, “FIRST GREATER” if N1
is greater, otherwise “SECOND GREATER” if N2 is greater.
Answers
Answered by
0
answer provided above, please refer to the if else use , you can also use functions like Math.max and Math.min functions
Attachments:
Similar questions