Answers for "ask a question and answer it in code c++"

C++
0

ask a question and answer it in code c++

if (answer == 'n')
{
    return 0;
}
else if (answer == 'y')
{
    // do something
}
else
{
    cout << "Invalid input..." << endl;
}
Posted by: Guest on April-01-2021

Code answers related to "ask a question and answer it in code c++"

Browse Popular Code Answers by Language