Swapping Two Numbers in C++ | CPP Basic Programs






in this video explain Swapping Two Numbers in C++ | Two Numbers Swap in C++
----------------- START----------------

#include <iostream> using namespace std; int main(){ int a,b; int temp; cout<<" Enter the Values Of a :"; cin>>a; cout<<"Enter the value of b : "; cin>>b; cout<<" \nBefore Swapping Value a is : "<<a <<" And value b is: "<<b; temp =a; a=b; b= temp; cout<<" \n\nAfter Swapping Value a is : "<<a <<" And value b is: "<<b; }

------------------------ 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=PLm9Gsf8MIeRdixVjnt2Iz2q0X_TwTr8ON 🔁 Facebook: https://www.facebook.com/mscubetechcompany 🛑 YouTube : https://www.youtube.com/channel/UC1Gb... #html #css #c++ #c #mscubetech #coding #programming #javascript #mscubetech

Post a Comment

0 Comments

Close Menu