al__nasim

easy problem

Jun 10th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #include<iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int i,t,chicken;
  7. cin>>t;
  8.  
  9. for(i=0; i<t; i++)
  10. {
  11. cin>>chicken;
  12. }
  13.  
  14. for(i=0; i<t; i++)
  15. {
  16. if(chicken >= 120)
  17. cout<<"Good Boy Sifat"<<endl;
  18. else if(chicken < 120)
  19. cout<<"Naughty Boy Sifat"<<endl;
  20. }
  21. return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment