Simple Comparison Application

profilej2dprdgi

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
    • 7 years ago
    • 20
    Answer(5)

    Purchase the answer to view it

    blurred-text
    NOT RATED

    Purchase the answer to view it

    blurred-text
    NOT RATED

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      prg.txt

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      code.cpp

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      cpp-three-nums.zip