Question: Section 1 : 1 . Enter the comment with the section title. 2 . Request the user to enter two whole numbers and store those

Section 1:
1. Enter the comment with the section title.
2. Request the user to enter two whole numbers and store those whole numbers in two appropriately defined variables.
3. Using separate and independent IF statements, compare the two whole numbers with each of the following comparison operators. ==,!=,<,>,<=,>=
4. Each IF statement that proves true should print to the console the numbers compared and the comparison made. e.g.,5>=2
Hint: If the user enters the numbers 5 and 2 then the expected output would be:
5<>2
5>2
5>=2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!