| 5 | using namespace std; |
| 6 | |
| 7 | int main() { |
| 8 | float number; |
| 9 | |
| 10 | cout << "Enter a number: "; |
| 11 | cin >> number; |
| 12 | |
| 13 | if (number > 0) { |
| 14 | cout << "The number is positive." << endl; |
| 15 | } else if (number < 0) { |
| 16 | cout << "The number is negative." << endl; |
| 17 | } else { |
| 18 | cout << "The number is zero." << endl; |
| 19 | } |
| 20 | |
| 21 | system("pause"); |
| 22 | return 0; |
| 23 | } |
nothing calls this directly
no outgoing calls
no test coverage detected