#include <graphics.h>
Void main()
{
Int gd=DETECT
, gm , midy,I;
Initgraph(&gd,&gm,” “ );
Midy=getmaxy()/2;
For(i=0;i<=getmaxx()-50;i++)
{
Cleardevice();
Line(0,midy,getmaxx(),midy);
Settextstyle(TRIPLEX_FONT,HORIZ_DIR,8);
Outtextxy(I,midy-80,”M”);
Delay(100);
}
Getch();
}