[SOLVED] PRG/410 Week 2 Simple Comparison Application

30.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (4 votes)

Simple Comparison Application Instructions:

A grocery store hired you to develop a simple application to read 2 random product prices and compare them. Create 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.

Compress all your Microsoft® Visual Studio® source code files from the consoleapplication folder into a ZIP file.

Submit your ZIP file to the Assignment Files tab

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.