#include
int main() // you MAIN function
{
std::string name; // string varaible name
std::cout << "enter your name"; // prompting for the users name std::cin >> name; // accepting name
std::cout << "Hi , " << name; // printing hi , name
return 0; // ending your program
}
No comments:
Post a Comment