Write a C++ program to print your name.
Answers
Answered by
1
Explanation:
Answer:
I HATE MY SELF BECAUSE I LOSS MY HEART AND A HEART WHICH I LOSS IS MEET WITH YOUR HEART
Answered by
6
Answer:
The program output is also shown below.
* C++ Program to Print the Name of the User using Output Stream.
#include <string>
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";
Similar questions