Answered step by step
Verified Expert Solution
Link Copied!

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 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Genomes Browsers And Databases Data Mining Tools For Integrated Genomic Databases

Authors: Peter Schattner

1st Edition

0521711320, 978-0521711326

More Books

Students also viewed these Databases questions

Question

Name two items covered in a risk management statement.

Answered: 1 week ago

Question

1. What are your creative strengths?

Answered: 1 week ago

Question

What metaphors might describe how we work together?

Answered: 1 week ago