Pouzi triedu string, ked uz si v tom ++. Ne pole charov (stejne to mas uplne blbo)string a;cin>>a;if(a=="ano"){