Sunday, 7 December 2014

C++ program to print a name or sting

#include<iostream.h>
#include<conio.h>
void main()
{
char name[15];
clrscr();
cout<<"enter your name:\t";
cin>>name;
cout<<"your nameis\t"<<name;
//return 0;
getch();
}