C++ Programming Blog

 
 
 
#include<stdio.h>
#include<conio.h>
#include<iostream.h>

void main()
{
char name[10];
clrscr();
cout<<\"Enter the name\";
cin>>name;
cout<<\"WELCOME TO SYNTAX EXAMPLE \"<<name;
getch();
}

 
 
Didn't find what you were looking for? Find more on PROGRAM TO DISPLAY MESSAGE USING COUT