Program in C Write a program that asks the user to input his

Program in C++ Write a program that asks the user to input his name. The program than prints the user\'s name. The output should look something like this: Hello, whom am I talking to: Bilal Wajid Hello Bilal Wajid, It is a pleasure talking to you.

Solution

Answer:

#include <iostream>
#include <string>
using namespace std;
int main()
{
string name;

cout << \"Hello , Whom am I talking to : \";
cin >> name;
cout << \"Hello \" << name <<\", It is a pleasure talking to you.\ \";
}

 Program in C++ Write a program that asks the user to input his name. The program than prints the user\'s name. The output should look something like this: Hell

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site