Write a program Two Number Swap without Third number in c++





in this video explain write a program two number swap without third number in c++ - ✅ Download Code

--------------------START-------------------

#include <iostream> using namespace std; int main(){ int a,b; cout<<"Enter the Value A: "; cin>>a; cout<<"Enter the Value B: "; cin>>b; cout<<"Before Swap Values " <<a <<"\t --- "<<b<<endl; a=a+b; b = a- b; a = a - b; cout<<" After Swap Values "<<a <<"\t --- "<<b; return 0; }


---------------------END---------------

► Shopify For Beginners :-
https://youtube.com/playlist?list=PLm... ► Google AdSense :- https://www.google.com/adsense/start/ ► Google Cloud Boost Playlist - https://www.youtube.com/playlist?list... ► Google Cloud SQL Playlist:- https://youtube.com/playlist?list=PLm... ► GitHub Playlist - https://youtube.com/playlist?list=PLm... ► Flutter For Beginners :- https://youtube.com/playlist?list=PLm... ► WordPress Free themes For Beginners :- https://youtube.com/playlist?list=PLm... ► HTML & CSS and JAVASCRIPT Projects:- https://youtube.com/playlist?list=PLm... ► C++ For Beginners Playlist :- https://youtube.com/playlist?list=PLm... ► C++ Basic Programs : https://youtube.com/playlist?list=PLm... 🔁 Facebook: https://www.facebook.com/mscubetechco... 🛑 YouTube : https://www.youtube.com/channel/UC1Gb... #html #css #c++ #c #mscubetech #coding #programming #javascript #mscubetech

Post a Comment

0 Comments

Close Menu