Tuesday, August 28, 2007

ENTER & DISPLAY

WAP to print name and display on screen

void main ()

{

char name [15];

clrscr ();

printf ("Enter your name: ");

gets (name);

printf ("\nme is: %s",name);

getch ();

}


No comments:

Post a Comment