Advertisement
Guest User

Untitled

a guest
Oct 21st, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstring>
  3. using namespace std;
  4. bool Duma(char vhod[100]){
  5. if(strcmp(vhod,"gotin")==0 || strcmp(vhod,"umen")==0 || strcmp(vhod,"krasiv")==0 || strcmp(vhod,"debel")==0 || strcmp(vhod,"genii")==0 || strcmp(vhod,"krasaven")==0){
  6. return true;
  7. }else{
  8. return false;
  9. }
  10. }
  11. int main()
  12. {
  13. char vhod[100];
  14. cin>>vhod;
  15. if(Duma(vhod)==true){
  16. cout<<"znam che sum "<<vhod;
  17. }else{
  18. cout<<"ne ti si "<<vhod;
  19. }
  20. return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement