Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions hacktoberfest2021_1/Rohit.Cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

* C++ Program to Print the Name of the User using Output Stream
*/
#include <iostream>
#include <string>

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";
}