| 4 | using namespace std; |
| 5 | |
| 6 | int main() |
| 7 | { |
| 8 | float a, b, c; |
| 9 | cout << "Enter the 3 numbres: "; |
| 10 | cin >> a >> b >> c; |
| 11 | |
| 12 | if (a >= b && a >= c) |
| 13 | cout << "The greatest number is " << a << ";" << endl; |
| 14 | |
| 15 | if (b >= a && b >= c) |
| 16 | cout << "The greatest number is " << b << ";" << endl; |
| 17 | |
| 18 | if (c >= a && c >= b) |
| 19 | cout << "The greatest number is " << c << ";" << endl; |
| 20 | else if (a == b == c) |
| 21 | cout << "All numbers are equal." << endl; |
| 22 | |
| 23 | system("pause"); |
| 24 | return 0; |
| 25 | } |
nothing calls this directly
no outgoing calls
no test coverage detected