MARKSSHE - gotoxy(5,4 printf"FATHER NAME"...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include<stdio.h> #include<conio.h> #include<string.h> # void main (void) { clrscr(); int a; char name[90]; char deprt[90]; int roll; for (a=1;a<=80;a++) { gotoxy(a,1); printf("*"); gotoxy(a,24); printf("*"); } for(a=1;a<=24;a++) { gotoxy(1,a); printf("*"); gotoxy(80,a); printf("*"); } gotoxy(5,3); printf("NAME: "); gotoxy(12,3); gets(name);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: gotoxy(5,4); printf("FATHER NAME: "); gotoxy(19,4); gets(name); gotoxy(5,5); printf("DEPARTMENT: "); gotoxy(18,5); gets(name); gotoxy(5,6); printf("class: "); gotoxy(13,6); gets(name); gotoxy(5,7); printf("ROLL NAME: "); gotoxy(17,7); scanf("%d",&roll); getch(); }...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online