Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Prompt the user to enter two integer numbers A and B. If the two integers are equal print out a message stating they are equal.

Prompt the user to enter two integer numbers A and B. If the two integers are equal print out a message stating they are equal. If the two integers are not equal set A to be the minimum of the two integers, and set B to be the maximum of the two integers. Then

compute the inclusive sum, and product between the two integers.

The inclusive sum between 2 and 5 is equal to 2 + 3 + 4 + 5

The inclusive product between 2 and 5 is 2 * 3 * 4 * 5

The output will look like this:

Enter two integer numbers:

5

2

The inclusive sum between 2 and 5 is 14

The inclusive product between 2 and 5 is 120

Enter two integer numbers:

7

8

The inclusive sum between 7 and 8 is 15

The inclusive product between 7 and 8 is 56

Enter two integer numbers:

6

6

The integers are equal

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

Step: 3

blur-text-image

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

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions

Question

Explain the meaning and implications of projectitis.

Answered: 1 week ago

Question

Solve Problem 7.7-10 by using Mohr's circle for plane strain?

Answered: 1 week ago

Question

state what is meant by the term performance management

Answered: 1 week ago