Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- string Username;
- int Password;
- string Answer;
- bool Enabled = true;
- void Settings()
- {
- cout << "------------------" << endl;
- cout << "-Username: " << Username << " -" << endl;
- cout << "-Password: " << Password << " -" << endl;
- cout << "- -" << endl;
- cout << "- -" << endl;
- cout << "- -" << endl;
- cout << "- -" << endl;
- cout << "- -" << endl;
- cout << "- -" << endl;
- cout << "-Thank you for signing up!-" << endl;
- cout << "------------------" << endl;
- }
- void Management()
- {
- cout << "Would you like to create an account?" << endl;
- cin >> Answer;
- if (Answer == "Yes" or Answer == "yes")
- { cout << "What's your username?" << endl;
- cin >> Username;
- cout << "What would you like your password to be?" << endl;
- cin >> Password;
- Settings();
- }else{
- cout << "Goodbye World" << endl;
- }
- }
- int main()
- {
- if (Enabled == true) { Management(); }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement