Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int n;
- int main()
- {
- cin>>n;
- if(n=3)cout<<"6\n";
- if(n=4)cout<<"2 4\n";
- if(n=5,n=6,n=8)cout<<"2 0\n";
- if(n=7)cout<<"4 0\n";
- if(n=9)cout<<"8 0\n";
- if(n>=10)cout<<"0 0\n";
- cin.ignore();
- getchar();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement