/* L4-7.cpp (Three Contestants) Input 8,8,8 then try 8,7,7 then 8,7,6 Does this program give the correct output for each of these inputs? Is the program correct? */ #include using namespace std; int main() { int a, b, c; cout <<"Enter three numbers " << endl; cin >> a >> b >> c; if (a == b && b == c) cout << "Three way tie" << endl; else if (a == b || b == c) cout << "Two way tie" << endl; else cout << "Just one winner" << endl; return 0; }