Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- char doitagain;
- do
- {
- system("CLS");
- cout <<"OI, Andre!"<< endl << endl;
- cout <<"vc quer voltar ao início desse menu? (s ou n)"<< endl;
- cin >> doitagain;
- }while (doitagain == 's'||doitagain == 'S');
- //caso o valor de doitagain seja diferente de s, ele faz isso:
- system("PAUSE");
- }
Add Comment
Please, Sign In to add comment