Professional Documents
Culture Documents
#include <iostream>
return 0;
#include <iostream>
using namespace std;
int main() {
// prints sum
cout << first_number << " + " << second_number << " = " << sum;
return 0;
}
3. Program that swaps two numbers
#include <iostream>
using namespace std;
int main()
{
int a = 5, b = 10, temp;
temp = a;
a = b;
b = temp;
return 0;
}
#include <iostream>
using namespace std;