Answer the question
In order to leave comments, you need to log in
How to choose y/n?
Need to get the answer
int main()
{
setlocale 0, " ";
cout << "Вы согласны на операцию?";
};
Answer the question
In order to leave comments, you need to log in
char answer;
cin >> answer;
if (answer == 'y') {
cout << "Ура заработало :) ";
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question