Wednesday, 28 January 2015

Print user Name in C++

Structure of the Problem Requirements

The program will asked user to enter his full name but welcome the person with  first name or sure name.

Source Code

using namespace std;
int main ()
cout<<"\t \t\ t LEP Tutorials \n \n \n";
string name;
cout<<"Enter Your Name : ";
cout<<"Hi ! "<<name<<" Welcome to LEP.\n ";
return 0;

Output of the Program

Print user Name in C++

Share it Please

About Author!

Asad Niazi is Software Engineer , Programmer, Web Developers and a young mentor of Tech Solutions Desk and Blogging Solutions . Asad Love to writes about Technology, Programming, Blogging and make money online.


Post a Comment