how to make a c 2b 2b iostream program restart when finished

Solutions on MaxInterview for how to make a c 2b 2b iostream program restart when finished by the best coders in the world

showing results for - "how to make a c 2b 2b iostream program restart when finished"
Nais
17 Mar 2018
1if (whatever condition)
2    correct();
3else
4{
5    incorrect();
6    cout << "Enter y to restart: ";
7    char c;
8    cin >> c;
9    if (c == 'y')
10        continue;
11    else
12        return 1;
13}
similar questions