Advertisement
Guest User

Untitled

a guest
Dec 8th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int n;
  6. cin>>n;
  7. if(n%6==0) cout<<n/6<<" "<<n/3<<" "<<n/2;
  8. else
  9. cout<<"nu exista";
  10. return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement