How to code if else, yes or no
https://code.sololearn.com/cY0lwJ1e3YI0/#cpp
string a;
string b;
cout << "Do you want to continue? " ;
cin >> a ;
if (a == "yes" ){
else if (a == "no" ){
you can click on the link and see my complete code , after the curvy bracket you can include the code you want after the statement "yes" is true