Question: A grocery store hired you to develop a simple application to read 2 random product prices and compare them. a C++ program that does the

A grocery store hired you to develop a simple application to read 2 random product prices and compare them.

a C++ program that does the following:

Asks the user to enter 3 integers

Obtains the numbers from the user

Prints the largest number and then the smallest of the numbers

If the numbers are equal, prints the message: "These numbers are equal."

Prints the sum, average, and product of the 3 numbers

Include the proper header and make sure you properly comment your program.

Also, make sure you use proper coding conventions.

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 Programming Questions!