diff --git a/C++/04_cppBeginners.cpp b/C++/04_cppBeginners.cpp index 2831d32..b968153 100644 --- a/C++/04_cppBeginners.cpp +++ b/C++/04_cppBeginners.cpp @@ -10,7 +10,14 @@ int main() int b = 21; int sum = a + b; + int difference = a - b; + int product = a * b; + int xor_of_2_numbers = a ^ b; + + cout << sum << endl; + cout << difference << endl; + cout << product << endl; + cout << xor_of_2_numbers << endl; - cout << sum; return 0; -} \ No newline at end of file +}