write a program in c plus plus to print your name ,class and section.
best answers will be marked as brainliest
Answers
Answered by
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
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