@mr_mczakenberg
65 / 65 / 31
Регистрация: 10.04.2015
Сообщений: 281
|
14.07.2015, 17:47
|
|
C++ | 1
2
3
4
5
6
7
8
9
10
11
12
13
| std::string ans;
std::string q1 = "Hello, It's your mum! You need to go to market and buy some vegetables";
std::cout <<q1;
std::cout << "\n To asnwer type Yes/No";
std::cin >> ans;
if(ans == "YES"){
std::cout << "Good son!";
}
else if(ans== "NO"){
std::cout<< "You have no choice! You must!";
std::cout<<"\n\n You try not to go, but it's your mother, so...";
} |
|
0
|