| 4 | using namespace std; |
| 5 | |
| 6 | int main() { |
| 7 | float a, b; |
| 8 | |
| 9 | cout << "Enter first number: "; |
| 10 | cin >> a; |
| 11 | cout << "Enter second number: "; |
| 12 | cin >> b; |
| 13 | |
| 14 | a = a + b; |
| 15 | b = a - b; |
| 16 | a = a - b; |
| 17 | |
| 18 | cout << "We have swapped your numbers, result in below." << endl; |
| 19 | cout << "a = " << a << endl; |
| 20 | cout << "b = " << b << endl; |
| 21 | |
| 22 | system("pause"); |
| 23 | return 0; |
| 24 | } |
nothing calls this directly
no outgoing calls
no test coverage detected