Skip to content

Commit

Permalink
fixes #456
Browse files Browse the repository at this point in the history
  • Loading branch information
Archiita committed Oct 26, 2018
1 parent 6535167 commit 14e9a1a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Binary file added exec
Binary file not shown.
12 changes: 12 additions & 0 deletions swapas.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <iostream>
using namespace std;
int main()
{
int num1,num2;
cout<<"Enter two numbers\n";
cin>>num1>>num2;
num1=num1+num2;
num2=num1-num2;
num1=num1-num2;
cout<<"num1= "<<num1<<"\nnum2= "<<num2<<"\n";
}

0 comments on commit 14e9a1a

Please sign in to comment.