In this exercise you will compare two input numbers and say
whether or not the first is larger than the second, or the second is larger
than the first, or they are equal. Prompt for two numbers, storing them in
variables a and b and convert the variables into whole numbers using
parseInt(). Then display one of three messages. “a larger”, “b larger”, or “Equal”.

To be a proficient programmer, you need to master two things: (1) the
syntax of the programming language, and (2) the core libraries (i.e., API) associated with the language.comparing two input numbers and say
whether or not the first is larger than the second, or the second is larger
than the first, or they are equal. Prompt for two numbers, storing them in
variables a and b and convert the variables into whole numbers using
parseInt(). Then display one of three messages. “a larger”, “b larger”, or “Equal”.

compare two input numbers and say
whether or not the first is larger than the second, or the second is larger
than the first, or they are equal. Prompt for two numbers, storing them in
variables a and b and convert the variables into whole numbers using
parseInt(). Then display one of three messages. “a larger”, “b larger”, or “Equal”.