Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Section 1 : 1 . Enter the comment with the section title. 2 . Request the user to enter two whole numbers and store those
Section :
Enter the comment with the section title.
Request the user to enter two whole numbers and store those whole numbers in two appropriately defined variables.
Using separate and independent IF statements, compare the two whole numbers with each of the following comparison operators.
Each IF statement that proves true should print to the console the numbers compared and the comparison made. eg
Hint: If the user enters the numbers and then the expected output would be:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started