cout<<"Do you want to enter another score, enter 'y' or 'n' ?";
cin>>wish;
cout<<endl;
while((wish =='Y')||(wish =='y'))
{
cout<<"Enter score: ";
cin>>scoreu; //double variable that hold any score in the loop.
counter2++;
// I want to be able to add scoreu as many times as the user wish, without override the value of scoreu (with the last value of scoreu). Any suggestion....t hanks
cin>>wish;
cout<<endl;
while((wish =='Y')||(wish =='y'))
{
cout<<"Enter score: ";
cin>>scoreu; //double variable that hold any score in the loop.
counter2++;
// I want to be able to add scoreu as many times as the user wish, without override the value of scoreu (with the last value of scoreu). Any suggestion....t hanks
Comment