Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int a,b,c;
- int main()
- {
- {
- a=3;
- b=-2;
- c=10;
- }
- if(a+b<c)
- {
- {
- a*=2;
- b-=1;
- }
- {
- if (c>0)
- c+=a;
- else
- c+=b;
- }
- }
- else
- c+=a*b;
- {
- cout<<" liczba a wyniesie "<<a<<endl;
- cout<<" liczba b wyniesie "<<b<<endl;
- cout<<" liczba c wyniesie "<<c<<endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement