std:: cout << "What is your name? :" << std::endl;. // using getline. getline(cin, user_name);. cout<<"\nWelcome to Simplilearn "<<user_name;.
確定! 回上一頁