Question: Exercise 3 (50%) Please write a C++ program to read three integers and print some information. If all of them are the same, print Triple.

Exercise 3 (50%) Please write a C++ program to read three integers and print some information. If all of them are the same, print "Triple". If only two of them are the same and they are larger than the remaining number, print "Big Double". If only two of them are the same and they are smaller than the remaining number, print "Small Double". If all are distinct, print "Single". Some sample runs are shown as follows (underlined bold characters in blue are user input): Sample Run 1 Input three numbers: 555 Triple Sample Run 2 Input three numbers: 133 Big Double Sample Run 3 Input three numbers: 4 5 4 Small Double Sample Run 4 Input three numbers: -110 Single Please name your C++ source file as Lab1Ex3.cpp. 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
