#include<stdio.h>
#include<conio.h>
void
main()
{
char
name[10],Add1[15],Add2[15],Phone[11];
clrscr();
textattr(10);
gotoxy(13,3);
cprintf("Name
: ");
cscanf("%s",&name);
fflush(stdin);
gotoxy(10,5);
cprintf("Address
: ");
gets(Add1);
fflush(stdin);
gotoxy(20,6);
gets(Add2);
gotoxy(12,7);
cprintf("Phone
: ");
cscanf("%s",Phone);
gotoxy(15,10);
cprintf("%s %s
%s",name,Add2,Phone);
getch();
}
Output:
No comments:
Post a Comment
Let Us hear Your thoughts about this Post.. Its Our Pleasure to get your feedback..