123456789
int main(){ char choice; do{ //your program goes here std::cout << "again? "; std::cin >> choice; while(choice == 'y'); return 0; }