#include<iostream.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>
void main()
{clrscr();
 int gdriver=DETECT,gmode;
 initgraph(&gdriver,&gmode,"c:\\turboc3\\BGI");
 int x,y,i;
 x=getmaxx()/1;
 y=getmaxy()/1;
 for(i=0;i<=16;i++)
    {delay(3000);
     setbkcolor(i);
    }
 getch();
}