Create a menu with username and password
#include <iostream> #include <string> using namespace std; void login(){ cout << "Enter username: "; string username; getline(cin, username); cout << "Enter password: "; string password; getline(cin, password); cout << "Welcome " << username << endl; } int main(){ login(); return 0; }