//...char rep='n';//display the menu and get user's choicewhile(tolower(rep)=='n'){ //...Menu cout<<"repeat? [y/n] : "; cin>>rep;}return 0; //bye..