coderz.py

Keep Coding Keep Cheering!

Swap Two Numbers Without Using Third Variable

By using the + and – operators, we can swap two numbers without using a third variable. Main logic: Program code: Output: Note: also read about Check for palindrome number Follow Me Please follow me to read my latest post on programming and technology if you like my post. https://www.instagram.com/coderz.py/ https://www.facebook.com/coderz.py Rabecca FatimaStaying up to the […]

November 12, 2022 | C++ | No comments

Advertisement