Sunday 21 January 2018

Graphic Program


#include<stdio.h>
#include<conio.h>
#include<graphics.h>
main()
{
int r=12,c=80;
clrscr();
while(!kbhit())
{
gotoxy(c,r);
textcolor(c+BLINK+3+7);
cprintf(".......ANIL KUMAR.......");
c--;
if(c==1)
{
c=80;
}
sound(c*1000);
delay(1000000);
clrscr();
}
nosound();
getch();
}�

0 comments:

Post a Comment