HOW TO PRINT AS A STATEMENT USING C
#include<iostream.h>
#include<conio.h>
#include<ctype.h>
void main()
{
char a[50];
clrscr();
cout<<"enter your
name";
cin>>a;
cout<<"your name
is"<<a;
getch();
}
OUTPUT:
Enter your name:
KIRAN
Your name is KIRAN.
No comments: