Computer Science, asked by msarita431, 26 days ago

write a program in c plus plus to print your name ,class and section.
best answers will be marked as brainliest​

Answers

Answered by tanishakumari123
2

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

Answered by Anonymous
5

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

Explanation:

mark me as brainliest please

Similar questions