diff --git a/hacktoberfest2021_1/Rohit.Cpp b/hacktoberfest2021_1/Rohit.Cpp new file mode 100644 index 0000000..15e3a41 --- /dev/null +++ b/hacktoberfest2021_1/Rohit.Cpp @@ -0,0 +1,15 @@ + + * C++ Program to Print the Name of the User using Output Stream + */ +#include +#include + +int main() +{ + std::string firstname; + + std::cout << "Hello User, Enter your first name.\n "; + std::cin >> firstname; + std::cout << "Hello " << firstname + <<". It was nice to know your name!\n"; +}