Skip to content

Commit

Permalink
Merge pull request #12 from pratikraj975/patch-1
Browse files Browse the repository at this point in the history
Update main.cpp
  • Loading branch information
ShaileshKumar007 committed Oct 12, 2022
2 parents be54f50 + 9e33a60 commit 889c25e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions basic/swap_numbers_without_using_third_variable/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ using namespace std;

void swap(int &a,int &b){
//Enter your code here
a=a*b;
b=a/b;
a=a/b;
}

//Driver Code
Expand Down

0 comments on commit 889c25e

Please sign in to comment.