Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<cstdlib>
- using namespace std;
- void main()
- {
- setlocale(LC_ALL,"rus");
- int a,b,l;
- cout<<"Введите число А=";
- cin>>a;
- cout<<"Введите число В=";
- cin>>b;
- l=a;
- a=b;
- b=l;
- cout<<"a="<<a<<" b="<<b<<endl;
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement