Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstring>
- using namespace std;
- bool Duma(char vhod[100]){
- 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){
- return true;
- }else{
- return false;
- }
- }
- int main()
- {
- char vhod[100];
- cin>>vhod;
- if(Duma(vhod)==true){
- cout<<"znam che sum "<<vhod;
- }else{
- cout<<"ne ti si "<<vhod;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement