+ 1
How to user char to terminate the application??
I have the total how do I do to terminate the application and show the total amount the put https://code.sololearn.com/cddZaPkJ7FTz/?ref=app
1 Odpowiedź
0
Terminate using a while/do-while loop.
Kind of like -
Assuming required variables to be declared and initialized.
do{
something;
cout << "Finish (Press F)" << endl;
cin >> isFinished;
} while(isFinished != 'F')