0
/*
program created and maintained by red prods
*/
#include<stdio.h>
#include<process.h>
#include<graphics.h>
#include<fstream.h>
#include<dos.h>
#include<math.h>
#include<stdio.h>
#include<string.h>
#include<conio.h>
#include<stdlib.h>
#include<time.h>
struct dosdate_t d;
struct bank
{
char  user[40];
long int pass;
int dtj[3];
int deposit;
char type[7];
char trans[100][100];
}s;
char *auser[20]={"ReReEd,param"};
long int apass[2]={975369,123456};
int ENTER=13;
int xi1=162,yi1=50;
int xi2=560,yi2=170;
int i=xi1, j=yi1;
char screen[100][100];
int scro=0;
int limit=7;
int k=0;
char fname[][20]={"James","Jake","Mary","Thomas","Bihag","Roopesh","Sirivas","Annu","Annumapa","Rina","Elina","Joseph","Suparna","Nikita","Demin","Dennis","Rajani","Melvine","Nina","Tiffany","Janet","Anna","Rose","Lisa"};
char sname[][20]={"Russey","Rusconi","Merine","Hanning","Guttman","Celis","Deranick","Paasch","Duffy","Marsee","Vanegdom","Maddocks","Thweatt","Saylee","Huminski","Choiniere","Ruwe","Bosco","Pequeno","Pronto","Mathew","Boss"};
void madd();
void redout(char sen[]="")
{
if(i>xi2)
{i=xi1;
k++;
j+=20;
if(j>yi2)
madd();
}
int f=0;
for(int m=0;m<strlen(sen);m++)
{
if(sen[m]!='\n')
screen[k][f++]=sen[m];
if(sen[m]=='\n')
{
i=xi1;
k++;
f=0;
j+=20;
if(j>yi2)
madd();
}
else
{
char msg[2];
moveto(i,j);
sprintf(msg,"%c",sen[m]);
outtext(msg);
i+=10;
if(i>xi2)
{
i=xi1;
k++;
f=0;
j+=20;
}
}
}

}

void welcome()
{
int c=0,nik=3;
int END=30;
int p[60];

 setcolor(BLUE);




  while(nik==3)//!kbhit())
  {
c=c+1;

   if(c==3)
   {
	setcolor(RED);
	settextstyle(11,0,2);
      outtextxy(20,0,"R");
  }
   if(c==4)
   {
	setcolor(RED);
	settextstyle(11,0,2);
   outtextxy(40,0,"E");

  }
    if(c==5)
   {
	setcolor(RED);
	settextstyle(11,0,3);
   outtextxy(60,0,"D");
   delay(80);
   outtextxy(80,0,"P");
   delay(80);
      outtextxy(100,0,"A");
   delay(80);
   outtextxy(120,0,"R");
   delay(80);
   setcolor(RED);
   outtextxy(140,0,"A");

   }

    if(c==6)
    {
	setcolor(RED);
	settextstyle(11,0,3);
   outtextxy(160,0,"M");
   delay(80);

      outtextxy(220,0,"B");
   delay(160);
   outtextxy(240,0,"A");
   delay(160);
   setcolor(RED);
   outtextxy(260,0,"N");
      }
       if(c==7)
       {
	setcolor(RED);
	settextstyle(11,0,3);
   outtextxy(280,0,"K");
   delay(160);
   outtextxy(300,0,"S");
   delay(160);
      outtextxy(320,0,"!");
   delay(160);
   outtextxy(340,0,"!");
   delay(160);
   setcolor(RED);
   outtextxy(360,0,"!");
      outtextxy(380,0,".");
   outtextxy(400,0,".");
   delay(160);
   setcolor(RED);
   outtextxy(420,0,".");

       }


 if(c==1)
			  {

for(int i=1;i<100;i++)
{
   int p[26];
   setcolor(BLACK);
 p[0]=0,p[1]=30,p[2]=630,p[3]=30,p[4]=630,p[5]=475,p[6]=0,p[7]=475,p[8]=0,p[9]=30;
 setfillstyle(SOLID_FILL,BLACK);
 fillpoly(5,p);







setcolor(GREEN);

moveto(10,1+(i*3));
settextstyle(2,1,6);

 outtext("                          @ #@ @tg @#@");
setcolor(LIGHTGREEN);
moveto(10,1+(i*5 ));
settextstyle(2,1,5);
//delay(30);
 outtext("                                                 @ÛÛ@#");





setcolor(GREEN);
//outtext("1");
moveto(30,1+(i*2));
settextstyle(2,1,6);
//delay(30);
 outtext("                              010 0101 0  010");
setcolor(LIGHTGREEN);
moveto(30,1+(i*6 ));
settextstyle(2,1,5);
//delay(30);
 outtext("@#@#");





setcolor(GREEN);
//outtext("1");
moveto(50,1+(i*4));
settextstyle(2,1,7);
//delay(30);
 outtext("            E@ $@ #@ @tg @#@");
setcolor (LIGHTGREEN);
moveto(50,1+(i*6 ));
settextstyle(2,1,5);
//delay(30);
 outtext("ÛÛÛÛ");






setcolor(LIGHTGREEN);
moveto(80,1+(i*5 ));
settextstyle(2,1,5);
//delay(30);
 outtext("$ÛÛE");

setcolor(GREEN);
//outtext("1");
moveto(100,1+(i*4));
settextstyle(2,1,7);
//delay(30);
 outtext("                     @ $@ #@ @tg @#@");




 setcolor(LIGHTGREEN);
moveto(135,1+(i*5 ));
settextstyle(11,1,10);
//delay(30);
 outtext("10@#@");
setcolor(GREEN);
//outtext("1");
moveto(120,1+(i*4));
settextstyle(2,1,7);
//delay(30);
 outtext("              @#@");
			 //NEW  NEW

 setcolor(LIGHTGREEN);
moveto(140,1+(i*20 ));
settextstyle(2,1,5);
//delay(30);
 outtext("ÛÛÛÛ");


 setcolor(LIGHTGREEN);
moveto(160,1+(i*3 ));
settextstyle(2,1,5);
//delay(30);
 outtext("                                     10@#@");
setcolor(GREEN);
//outtext("1");
moveto(160,1+(i*1));
settextstyle(2,1,7);
//delay(30);
 outtext("  @#@");

 setcolor(LIGHTGREEN);
moveto(180,1+(i*4 ));
settextstyle(2,1,5);
//delay(30);
 outtext("               ÛÛÛÛ1Û@");
setcolor(GREEN);
//outtext("1");
moveto(180,1+(i*3));
settextstyle(2,1,7);
//delay(30);
 outtext("      4 @%@ @t g   @#@");




 setcolor(LIGHTGREEN);
moveto(210,1+(i*3 ));
settextstyle(2,1,5);
//delay(30);
 outtext(" ÛÛÛÛÛ              ÛÛÛÛ1Û@");

setcolor(GREEN);
//outtext("1");
moveto(210,1+(i*2));
settextstyle(2,1,5);
//delay(30);
 outtext(" 111001 0 101 101 0101 001010 0 01");



 setcolor(LIGHTGREEN);
moveto(220,1+(i*5));
settextstyle(2,1,5);
//delay(30);
 outtext("   Û     ÛÛÛ ");

setcolor(GREEN);
//outtext("1");
moveto(220,1+(i*2));
settextstyle(2,1,5);
//delay(30);
 outtext("    3KGP  010  0" );


 setcolor(LIGHTGREEN);
moveto(235,1+(i*6));
settextstyle(2,1,5);
//delay(30);
 outtext("    ÛÛ        ÛÛ           ÛÛÛÛÛ   ");


setcolor(GREEN);
//outtext("1");
moveto(235,1+(i*5));
settextstyle(2,1,6);
//delay(30);
 outtext("  010  0 013 JD MATRIX");




 setcolor(LIGHTGREEN);
moveto(285,1+(i*15));
settextstyle(2,1,6);
//delay(30);
 outtext("    ÛÛ   ");

 setcolor(GREEN);
moveto(270,1+(i*3));
settextstyle(2,1,6);
//delay(30);
 outtext("01@@3E");

setcolor(GREEN);
//outtext("1");
moveto(300,1+(i*4));
settextstyle(2,1,6);
//delay(30);
 outtext("    10 1 $@ #@ @tg @#@");



setcolor(GREEN);
//outtext("1");
moveto(325,1+(i*2));
settextstyle(2,1,6);
//delay(30);
 outtext("  @tg @#@");

setcolor(LIGHTGREEN);
moveto(330,1+(i*5));
settextstyle(11,1,6);
//delay(30);
 outtext("101010");



setcolor(GREEN);
//outtext("1");
moveto(345,1+(i*4));
settextstyle(2,1,6);
//delay(30);
 outtext(" 1010  101 101001");
setcolor(LIGHTGREEN);
moveto(375,1+(i*18 ));
settextstyle(11,1,6);
//delay(30);
 outtext("0111010 010 01");



setcolor(GREEN);
//outtext("1");
moveto(380,1+(i*3));
settextstyle(2,1,6);
//delay(30);
 outtext(" 0 @tg @#@");

setcolor(LIGHTGREEN);
moveto(400,1+(i*6));
settextstyle(11,1,5);
//delay(30);
 outtext(" Û Û Û    1010  ÛÛ ÛÛ ");



 setcolor(GREEN);
moveto(410,1+(i*5));
settextstyle(2,1,7);
//delay(30);
 outtext(" êëë áàÝâä êáêëëë ëþ");


 setcolor(GREEN);
moveto(435,1+(i*3));
settextstyle(2,1,7);
//delay(30);
 outtext("êáêëëë ëþ");


setcolor(LIGHTGREEN);
//outtext("1");
moveto(450,1+(i*4));
settextstyle(11,1,5);
//delay(30);
 outtext("00101      001010 ");


setcolor(GREEN);
//outtext("1");
moveto(480,1+(i*3));
settextstyle(2,1,7);
//delay(30);
 outtext(" ##$$g@#@");

setcolor(LIGHTGREEN);
//outtext("1");
moveto(490,1+(i*4));
settextstyle(11,1,5);
//delay(30);
 outtext("ÛÛ ");


setcolor(GREEN);
//outtext("1");
moveto(510,1+(i*3));
settextstyle(2,1,6);
//delay(30);
 outtext("  1 1 110 @tg @#@");


setcolor(GREEN);
//outtext("1");
moveto(535,1+(i*2));
settextstyle(2,1,6);
//delay(30);
 outtext(" @tg @#@");

setcolor(LIGHTGREEN);
//outtext("1");
moveto(545,1+(i*10));
settextstyle(2,1,6);
//delay(30);
 outtext("902áàáàâÝ");


setcolor(GREEN);
//outtext("1");
moveto(560,1+(i*4));
settextstyle(2,1,6);
//delay(30);
 outtext(" g @ #@");



setcolor(GREEN);
//outtext("1");
moveto(580,1+(i*3));
settextstyle(2,1,5);
//delay(30);
 outtext(" #@");
setcolor(LIGHTGREEN);
//outtext("1");
moveto(590,1+(i*9));
settextstyle(2,1,6);
//delay(30);
 outtext("ÛÛÛÛ");

setcolor(GREEN);
//outtext("1");
moveto(600,1+(i*2));
settextstyle(2,1,7);
//delay(30);

  outtext("!4 @%@ @t g   @#@");

 setcolor(LIGHTGREEN);
//outtext("1");
moveto(610,1+(i*9));
settextstyle(2,1,6);
//delay(30);
 outtext("ÛÛÛÛÛÛ");

 delay(20);

}
}


 if(c!=1)
{
 if(c==10)
 END=260;
 if(c==11)
 {
 settextstyle(7,0,6);
 setcolor(GREEN);

  setcolor(YELLOW);
  settextstyle(7,0,6);
 outtextxy(200,100,"rEdPaRM");

 for(int ff=10;ff<255;ff++)
    {

      settextstyle(10,0,5);
   setcolor(LIGHTGREEN );
  outtextxy(ff*24,85,"ÛÛÛÛÛ.");
    setcolor(BLACK);
	delay(1);
outtextxy(ff*24 ,85,"ÛÛÛÛÛ.");

      }

 setcolor(YELLOW);
  settextstyle(7,0,6);
 outtextxy(200,100,"rEdPaRM");

 settextstyle(7,0,6);



 delay(500);
 setcolor(LIGHTGREEN);
 outtextxy(200,100,"rEdPaRM");


   setcolor(YELLOW);
  settextstyle(7,0,6);
 outtextxy(250,180,"bANks");

 for(ff=10;ff<255;ff++)
    {

      settextstyle(10,0,5);
   setcolor(LIGHTGREEN );
  outtextxy(ff*24,170,"ÛÛÛÛÛ.");
    setcolor(BLACK);
	delay(1);
outtextxy(ff*24 ,170,"ÛÛÛÛÛ.");

      }

 setcolor(YELLOW);
  settextstyle(7,0,6);
 outtextxy(250,180,"bANks");

 settextstyle(7,0,6);
   delay(500);


  setcolor(LIGHTGREEN);
 outtextxy(250,180,"bANks");
 setcolor(RED);
 for(int li=200;li<450;li++)
   {
   delay(4);
   outtextxy(li,194,".");
    }
 while(!kbhit())
 {
  settextstyle(11,0,2);

 for(int bv=10;bv<255;bv++)
 {
    setcolor(LIGHTGREEN);
outtextxy(bv*4,300,"ÛÛÛÛ");
setcolor(BLACK);
delay(2);
outtextxy(bv*4 ,300,"ÛÛÛÛ");
  }

 settextstyle(11,0,2);
 setcolor(GREEN);
   outtextxy(500,300,"Press Any Key");
 delay(300);
  setcolor(LIGHTGREEN);
 outtextxy(500,300,"Press Any Key");
  setcolor(RED);
  outtextxy(610,300,">");
 delay(80);
 outtextxy(615,300,">");
  delay(80);
  outtextxy(620,300,">");
  setcolor(GREEN);
  outtextxy(610,300,">");
 delay(80);
 outtextxy(615,300,">");
  delay(80);
  outtextxy(620,300,">");

 }
getch();


   setcolor(BLACK);
 p[0]=0,p[1]=0,p[2]=630,p[3]=0,p[4]=630,p[5]=475,p[6]=0,p[7]=475,p[8]=0,p[9]=0;
 setfillstyle(SOLID_FILL,BLACK);
 fillpoly(5,p);


settextstyle(0,0,2);
setcolor(GREEN);
outtextxy(250,200,"Loading");
setfillstyle(10,GREEN);
circle(550,400,50);


	setfillstyle(1,LIGHTGREEN);
	for(int st=0,en=0;en<=360;en++)
	{
pieslice(550,400,0,en,50);
	 delay(10);
	}


settextstyle(0,0,2);
setcolor(BLACK);
outtextxy(250,200,"ÛÛÛÛÛÛÛ");

for(int com=10;com<225;com++)
{
	settextstyle(0,0,2);
    setcolor(LIGHTGREEN);
outtextxy(com*19,200,"ÛÛÛÛ");
setcolor(BLACK);
delay(2);
outtextxy(com*19 ,200,"ÛÛÛÛ");
}



settextstyle(0,0,2);
setcolor(LIGHTGREEN);
outtextxy(250,200,"Complete");

 delay(600);
   setcolor(BLACK);
 p[0]=0,p[1]=30,p[2]=630,p[3]=30,p[4]=630,p[5]=475,p[6]=0,p[7]=475,p[8]=0,p[9]=30;
 setfillstyle(SOLID_FILL,BLACK);
 fillpoly(5,p);

goto p;
}
for(int i=1;i<END;i++)
{
   setcolor(BLACK);
 p[0]=0,p[1]=30,p[2]=630,p[3]=30,p[4]=630,p[5]=475,p[6]=0,p[7]=475,p[8]=0,p[9]=30;
 setfillstyle(SOLID_FILL,BLACK);
 fillpoly(5,p);





setcolor(GREEN);
//outtext("1");
moveto(10,1+(i*2));
settextstyle(2,1,6);
//delay(30);
 outtext(" E D 3F E R T Y U I2 2G ER 4R E5 D7 4D D4 YT 7Y6 6Y8 6 YY Y6 Y65 6 6Y RE 7ER RE6 RT  RT TR5  55Y YH UJJJ JUJ JUJ JUJ JUJ DFD G5 55 5TT  RT TRT TRTR RTRT  TRT TRTR TRT TRT THYHY YHY 22@@ @@ @@ @@ !! @@# $$ #@# $@ #$@$@ $@ #@ @tg @#@");
setcolor(LIGHTGREEN);
moveto(10,1+(i*9 ));
settextstyle(2,1,5);
//delay(30);
 outtext("@ÛÛ@#");





setcolor(GREEN);
//outtext("1");
moveto(30,1+(i*3));
settextstyle(2,1,6);
//delay(30);
 outtext(" 1 0 01 10 101 011 01 01 101 101 01 01 101 0 101 010 101 010 10110  0110 101 1010 011 0  01 0101 010 0101 010  011 010 101 001 0101 010  01101 10 10 101 10  01101 0110 101 0 01  0 0101 010 011 0 010 010 010 0101 0 101 010 0 10  010");
setcolor(LIGHTGREEN);
moveto(30,1+(i*12 ));
settextstyle(2,1,5);
//delay(30);
 outtext("@#@#");





setcolor(GREEN);
//outtext("1");
moveto(50,1+(i*9));
settextstyle(2,1,7);
//delay(30);
 outtext("  E    D 3F E R T  !! @@# $$ #@# $@ #$@$@ $@ #@ @tg @#@");
setcolor (LIGHTGREEN);
moveto(50,1+(i*10 ));
settextstyle(2,1,5);
//delay(30);
 outtext("ÛÛÛÛ");






setcolor(LIGHTGREEN);
moveto(80,1+(i*15 ));
settextstyle(2,1,5);
//delay(30);
 outtext("$ÛÛE");

setcolor(GREEN);
//outtext("1");
moveto(100,1+(i*7));
settextstyle(2,1,7);
//delay(30);
 outtext(" E D 3F E R T Y U I2 2G ER 4R E5 D7 4D D4 YT 7Y6 6Y8 6 YY Y6 Y65 6 6Y RE 7ER RE6 RT  RT TR5  55Y YH UJJJ JUJ JUJ JUJ JUJ DFD G5 55 5TT  RT TRT TRTR RTRT  TRT TRTR TRT TRT THYHY YHY 22@@ @@ @@ @@ !! @@# $$ #@# $@ #$@$@ $@ #@ @tg @#@");




 setcolor(LIGHTGREEN);
moveto(135,1+(i*10 ));
settextstyle(11,1,10);
//delay(30);
 outtext("10@#@");
setcolor(GREEN);
//outtext("1");
moveto(120,1+(i*4));
settextstyle(2,1,7);
//delay(30);
 outtext(" E#E @$$ #@$@ #$@$@ $@#@   @t g      @#@");
			 //NEW  NEW

 setcolor(LIGHTGREEN);
moveto(140,1+(i*20 ));
settextstyle(2,1,5);
//delay(30);
 outtext("ÛÛÛÛ");


 setcolor(LIGHTGREEN);
moveto(160,1+(i*3 ));
settextstyle(2,1,5);
//delay(30);
 outtext("                                     10@#@");
setcolor(GREEN);
//outtext("1");
moveto(160,1+(i*2));
settextstyle(2,1,7);
//delay(30);
 outtext(" E#E @$$ #@$@ #$@$@ $@#@   @t g      @#@");

 setcolor(LIGHTGREEN);
moveto(180,1+(i*7 ));
settextstyle(2,1,5);
//delay(30);
 outtext("               ÛÛÛÛ1Û@");
setcolor(GREEN);
//outtext("1");
moveto(180,1+(i*3));
settextstyle(2,1,7);
//delay(30);
 outtext(" E#E @$$ #@$@ #$@$@ $@#@  @%@%% @% @525 @%!^^ !%@^% !%@$&@$ !6!4 @%@ @t g   @#@");




 setcolor(LIGHTGREEN);
moveto(210,1+(i*7 ));
settextstyle(2,1,5);
//delay(30);
 outtext(" ÛÛÛÛÛ              ÛÛÛÛ1Û@");

setcolor(GREEN);
//outtext("1");
moveto(210,1+(i*2));
settextstyle(2,1,5);
//delay(30);
 outtext(" 10 01 110 01010 0101 101 111011 010101 01101 0101 1010101 0101010 00001110 101 0101 001010 0 01");



 setcolor(LIGHTGREEN);
moveto(220,1+(i*12));
settextstyle(2,1,5);
//delay(30);
 outtext("   Û     ÛÛÛ ");

setcolor(GREEN);
//outtext("1");
moveto(220,1+(i*2));
settextstyle(2,1,5);
//delay(30);
 outtext("        453 984 0 49-9-34 KTG -G3-=3 =3G2\P BK9B437 HN 37  4764393 F4H74Y84 HGN3G4 JNG 4 GRJ9 M8J4OI4M0 9 4M0GG09 3KGP  010  0" );


 setcolor(LIGHTGREEN);
moveto(235,1+(i*10));
settextstyle(2,1,5);
//delay(30);
 outtext("    ÛÛ        ÛÛ           ÛÛÛÛÛ   ");


setcolor(GREEN);
//outtext("1");
moveto(235,1+(i*10));
settextstyle(2,1,6);
//delay(30);
 outtext("  2\P BK9B437 HN 37  4764393 F4H74Y84 HGN3G4 JNG 4 GRJ9 M8J4OI4M0 9 4M0GG09 3KGP  010  0 013 JD MATRIX");




 setcolor(LIGHTGREEN);
moveto(285,1+(i*30));
settextstyle(2,1,6);
//delay(30);
 outtext("    ÛÛÛÛÛÛÛÛÛ   ");

 setcolor(GREEN);
moveto(270,1+(i*6));
settextstyle(2,1,6);
//delay(30);
 outtext("$10 010 0101 010 01 10 101 101010 01 010 10 10 101 101 0100 1010010 10 01@@3E");

setcolor(GREEN);
//outtext("1");
moveto(300,1+(i*6));
settextstyle(2,1,6);
//delay(30);
 outtext(" E@$%@^ @^%@^@ 6@%^@^ !@^%              @@^%^ @^@^^&#^%&@*&@( D 3F E R 10 01010 01010 01010 010 010 10 0101010 010 1010 10 1 $@ #@ @tg @#@");



setcolor(GREEN);
//outtext("1");
moveto(325,1+(i*2));
settextstyle(2,1,6);
//delay(30);
 outtext(" E D 3F E R T Y U I2 2G ER 4R E5 D7 4D D4 YT 7Y6 6Y8 6 YY Y6 Y65 6 6Y RE 7ER RE6 RT  RT TR5  55Y YH UJJJ JUJ JUJ JUJ JUJ DFD G5 55 5TT  RT TRT TRTR RTRT  TRT TRTR TRT TRT THYHY YHY 22@@ @@ @@ @@ !! @@# $$ #@# $@ #$@$@ $@ #@ @tg @#@");

setcolor(LIGHTGREEN);
moveto(330,1+(i*9));
settextstyle(11,1,6);
//delay(30);
 outtext("101010");



setcolor(GREEN);
//outtext("1");
moveto(345,1+(i*4));
settextstyle(2,1,6);
//delay(30);
 outtext(" 10 010 010 1010 0101 010 10 10 1010 1010 10 101 010101 01 010 10101 01 010 10 101 0101 0101 010110 1 10101 10 0110 10 1101 10 01 01 10 01101  110110  101 01 01 0101010 10 010101 0 101010 10101 010 10 101 010 1 010 1 0 10 01  001 01010  101 101001");
setcolor(LIGHTGREEN);
moveto(375,1+(i*18 ));
settextstyle(11,1,6);
//delay(30);
 outtext("0111010 010 01");



setcolor(GREEN);
//outtext("1");
moveto(380,1+(i*2));
settextstyle(2,1,6);
//delay(30);
 outtext(" E D 3F E R T Y U 1010 01010 0101 01010 010 010 10 0101 100101 0101010 01010 01 0101 010101 010 10101  10101 1 10101  10 @tg @#@");

setcolor(LIGHTGREEN);
moveto(400,1+(i*12));
settextstyle(11,1,5);
//delay(30);
 outtext("ÛÛÛÛÛÛ            101010           ÛÛÛÛÛÛ");



 setcolor(GREEN);
moveto(410,1+(i*5));
settextstyle(2,1,7);
//delay(30);
 outtext("áàÝâäêáêëëá àÝâäêáê ëëáàÝâ äêáêëëá àÝâäêáê ëëáàÝâä êáêëëá àÝâäêá êëë á àÝâä êáê  áàÝâä êáêëë áàÝâä êáêëëë ëþ");


 setcolor(GREEN);
moveto(435,1+(i*3));
settextstyle(2,1,7);
//delay(30);
 outtext("áàÝâäêáêëëá àÝâäêáê ëëáàÝâ äêáêëëá àÝâäêáê ëëáàÝâä êáêëëá àÝâäêá êëë á àÝâä êáê  áàÝâä êáêëë áàÝâä êáêëëë ëþ");


setcolor(LIGHTGREEN);
//outtext("1");
moveto(450,1+(i*10));
settextstyle(11,1,5);
//delay(30);
 outtext("00101           001010 ");


setcolor(GREEN);
//outtext("1");
moveto(480,1+(i*3));
settextstyle(2,1,7);
//delay(30);
 outtext(" ÛÛÛÛÛÛÛ9ÛÛÛÛ2À2E@$%@^ @^%@^@ 6@%^@^ !@^% @@^%^ @^@^^&#^%&@*&@ D 3F E R  #@ @tg @#@");

setcolor(LIGHTGREEN);
//outtext("1");
moveto(490,1+(i*11));
settextstyle(11,1,5);
//delay(30);
 outtext("ÛÛ ");


setcolor(GREEN);
//outtext("1");
moveto(510,1+(i*3));
settextstyle(2,1,6);
//delay(30);
 outtext(" E D 3F E R T Y U 1010 01010 0101 01010 010 010 10 0101 100101 0101010 01010 01 0101 010101 010 10101  10101 1 10101  10 @tg @#@");


setcolor(GREEN);
//outtext("1");
moveto(535,1+(i*5));
settextstyle(2,1,6);
//delay(30);
 outtext(" ÛÛÛÛÛÛÛ9ÛÛÛÛ2À2E@$%@^ @^%@^@ 6@%^@^ !@^% @@^%^ @^@^^&#^%&@*&@ D 3F E R  #@ @tg @#@");

setcolor(LIGHTGREEN);
//outtext("1");
moveto(545,1+(i*24));
settextstyle(2,1,6);
//delay(30);
 outtext("902áàáàâÝ");


setcolor(GREEN);
//outtext("1");
moveto(560,1+(i*7));
settextstyle(2,1,6);
//delay(30);
 outtext(" E D 3F E R T Y U 1010 01010 0101 01010 010 010 10 0101 100101 0101010 01010 01 0101 010101 010 10101  10101 1 10101  10 @tg @#@");



setcolor(GREEN);
//outtext("1");
moveto(580,1+(i*3));
settextstyle(2,1,5);
//delay(30);
 outtext(" E D 3F E R T Y U 1010 01010 0101 01010 010 010 10 0101 100101 0101010 01010 01 0101 010101 010 10101  10101 1 10101  10 @tg @#@");
setcolor(LIGHTGREEN);
//outtext("1");
moveto(590,1+(i*27));
settextstyle(2,1,6);
//delay(30);
 outtext("ÛÛÛÛÛÛ");

setcolor(GREEN);
//outtext("1");
moveto(600,1+(i*2));
settextstyle(2,1,7);
//delay(30);

  outtext(" E#E @$$ #@$@ #$@$@ $@#@  @%@%% @% @525 @%!^^ !%@^% !%@$&@$ !6!4 @%@ @t g   @#@");

 setcolor(LIGHTGREEN);
//outtext("1");
moveto(610,1+(i*28));
settextstyle(2,1,6);
//delay(30);
 outtext("ÛÛÛÛÛÛ");


}
       }
}



   setcolor(BLACK);
 p[0]=0,p[1]=0,p[2]=630,p[3]=0,p[4]=630,p[5]=480,p[6]=0,p[7]=480,p[8]=0,p[9]=0;
 setfillstyle(SOLID_FILL,BLACK);
 fillpoly(5,p);
p:
}
void exit()
{
  int p[26];
  setcolor(BLACK);
 p[0]=0,p[1]=0,p[2]=630,p[3]=0,p[4]=630,p[5]=480,p[6]=0,p[7]=480,p[8]=0,p[9]=0;
 setfillstyle(SOLID_FILL,BLACK);
 fillpoly(5,p);





    int j;
     setcolor(GREEN);
settextstyle(2,0,6);
outtextxy(230,120,"G");
delay(150);
outtextxy(240,120,"u");
delay(150);
outtextxy(250,120,"i");
delay(150);
outtextxy(257,120,"d");
delay(150);
outtextxy(268,120,"e");
delay(150);
outtextxy(280,120,"d");
delay(150);
outtextxy(297,120,"B");
delay(150);
outtextxy(308,120,"y");

setcolor(LIGHTGREEN);
settextstyle(2,0,6);
outtextxy(230,120,"G");
delay(45);
outtextxy(240,120,"u");
delay(45);
outtextxy(250,120,"i");
delay(45);
outtextxy(257,120,"d");
delay(45);
outtextxy(268,120,"e");
delay(45);
outtextxy(280,120,"d");
delay(45);
outtextxy(297,120,"B");
delay(45);
outtextxy(308,120,"y");

setcolor(GREEN);
settextstyle(2,0,6);
outtextxy(230,120,"G");
delay(100);
outtextxy(240,120,"u");
delay(100);
outtextxy(250,120,"i");
delay(100);
outtextxy(257,120,"d");
delay(100);
outtextxy(268,120,"e");
delay(100);
outtextxy(280,120,"d");
delay(100);
outtextxy(297,120,"B");
delay(100);
outtextxy(308,120,"y");

setcolor(LIGHTGREEN);
settextstyle(2,0,6);
outtextxy(230,120,"G");
delay(45);
outtextxy(240,120,"u");
delay(45);
outtextxy(250,120,"i");
delay(45);
outtextxy(257,120,"d");
delay(45);
outtextxy(268,120,"e");
delay(45);
outtextxy(280,120,"d");
delay(45);
outtextxy(297,120,"B");
delay(45);
outtextxy(308,120,"y");

setcolor(GREEN);
settextstyle(2,0,6);
outtextxy(230,120,"G");
delay(100);
outtextxy(240,120,"u");
delay(100);
outtextxy(250,120,"i");
delay(100);
outtextxy(257,120,"d");
delay(100);
outtextxy(268,120,"e");
delay(100);
outtextxy(280,120,"d");
delay(100);
outtextxy(297,120,"B");
delay(100);
outtextxy(308,120,"y");



for(int m=10;m<350;m++)
{
setcolor(GREEN);
settextstyle(2,0,5);
outtextxy(m,150,"reDWOlF");
setcolor(BLACK);

outtextxy(m-1,150,"REDwOLf");

delay(2);
}
setcolor(LIGHTGREEN);
outtextxy(349,150,"rEDwOLf");




 delay(2000);
for(m=10;m<255;m++)
{
settextstyle(2,0,5);
setcolor(LIGHTGREEN );
outtextxy(m*3,120,"ÛÛ");
setcolor(BLACK);
delay(1);
outtextxy(m*3 ,120,"ÛÛÛ");
}


setcolor(BLACK);
settextstyle(2,0,6);
outtextxy(230,120,"G");
delay(100);
outtextxy(240,120,"u");
delay(100);
outtextxy(250,120,"i");
delay(100);
outtextxy(257,120,"d");
delay(100);
outtextxy(268,120,"e");
delay(100);
outtextxy(280,120,"d");
delay(100);
outtextxy(297,120,"B");
delay(100);
outtextxy(308,120,"y");


for(m=10,j=m+1;m<350;m++,j++)
{
setcolor(GREEN);
settextstyle(2,0,5);
outtextxy(m,150,"PaRA");
setcolor(BLACK);
outtextxy(m-1,150,"ParA");
setcolor(LIGHTGREEN);
outtextxy(m*3,150,"ÛÛÛÛ");
setcolor(BLACK);
delay(1);
outtextxy(m*3 ,150,"ÛÛÛÛ");

setcolor(GREEN);
settextstyle(2,0,5);
outtextxy(m,180,"SuPermAn");
setcolor(BLACK);
outtextxy(m-1,180,"SupermAN");
setcolor(LIGHTGREEN);
outtextxy(m*3,180,"ÛÛÛÛ");
setcolor(BLACK);
delay(1);
outtextxy(m*3 ,180,"ÛÛÛÛ");


}
setcolor(LIGHTGREEN);
outtextxy(349,150,"pAra");
setcolor(LIGHTGREEN);
outtextxy(349,180,"SuPermAN");





setcolor(GREEN);
settextstyle(2,0,6);
outtextxy(230,120,"D");
delay(150);
outtextxy(240,120,"e");
delay(150);
outtextxy(250,120,"v");
delay(150);
outtextxy(257,120,"e");
delay(150);
outtextxy(268,120,"l");
delay(150);
outtextxy(274,120,"o");
delay(150);
outtextxy(285,120,"p");
delay(150);
outtextxy(295,120,"e");
delay(150);
outtextxy(304,120,"d");
delay(150);
outtextxy(319,120,"B");
delay(150);
outtextxy(328,120,"y");



setcolor(LIGHTGREEN);
settextstyle(2,0,6);
outtextxy(230,120,"D");
delay(45);
outtextxy(240,120,"e");
delay(45);
outtextxy(250,120,"v");
delay(45);
outtextxy(257,120,"e");
delay(45);
outtextxy(268,120,"l");
delay(45);
outtextxy(274,120,"o");
delay(45);
outtextxy(285,120,"p");
delay(45);
outtextxy(295,120,"e");
delay(45);
outtextxy(304,120,"d");
delay(45);
outtextxy(319,120,"B");
delay(45);
outtextxy(328,120,"y");



setcolor(GREEN);
settextstyle(2,0,6);
outtextxy(230,120,"D");
delay(100);
outtextxy(240,120,"e");
delay(100);
outtextxy(250,120,"v");
delay(100);
outtextxy(257,120,"e");
delay(100);
outtextxy(268,120,"l");
delay(100);
outtextxy(274,120,"o");
delay(100);
outtextxy(285,120,"p");
delay(100);
outtextxy(295,120,"e");
delay(100);
outtextxy(304,120,"d");
delay(100);
outtextxy(319,120,"B");
delay(100);
outtextxy(328,120,"y");

setcolor(LIGHTGREEN);
settextstyle(2,0,6);
outtextxy(230,120,"D");
delay(45);
outtextxy(240,120,"e");
delay(45);
outtextxy(250,120,"v");
delay(45);
outtextxy(257,120,"e");
delay(45);
outtextxy(268,120,"l");
delay(45);
outtextxy(274,120,"o");
delay(45);
outtextxy(285,120,"p");
delay(45);
outtextxy(295,120,"e");
delay(45);
outtextxy(304,120,"d");
delay(45);
outtextxy(319,120,"B");
delay(45);
outtextxy(328,120,"y");

setcolor(GREEN);
settextstyle(2,0,6);
outtextxy(230,120,"D");
delay(100);
outtextxy(240,120,"e");
delay(100);
outtextxy(250,120,"v");
delay(100);
outtextxy(257,120,"e");
delay(100);
outtextxy(268,120,"l");
delay(100);
outtextxy(274,120,"o");
delay(100);
outtextxy(285,120,"p");
delay(100);
outtextxy(295,120,"e");
delay(100);
outtextxy(304,120,"d");
delay(100);
outtextxy(319,120,"B");
delay(100);
outtextxy(328,120,"y");
delay(2000);
for(m=10;m<255;m++)
{
settextstyle(2,0,5);
setcolor(LIGHTGREEN );
outtextxy(m*3,120,"ÛÛÛÛÛ");
setcolor(BLACK);
delay(1);
outtextxy(m*3 ,120,"ÛÛÛÛÛ");
}
setcolor(BLACK);
settextstyle(2,0,6);
outtextxy(230,120,"D");
delay(100);
outtextxy(240,120,"e");
delay(100);
outtextxy(250,120,"v");
delay(100);
outtextxy(257,120,"e");
delay(100);
outtextxy(268,120,"l");
delay(100);
outtextxy(274,120,"o");
delay(100);
outtextxy(285,120,"p");
delay(100);
outtextxy(295,120,"e");
delay(100);
outtextxy(304,120,"d");
delay(100);
outtextxy(319,120,"B");
delay(100);
outtextxy(328,120,"y");


for(m=10;m<350;m++)
{
setcolor(LIGHTGREEN);
settextstyle(2,0,5);
outtextxy(m,150,"RetArDs stAnDARd gUidE TO suPER ReTaRDNESs");
setcolor(BLACK);
outtextxy(m-1,150,"RetArDs stAnDARd gUidE TO suPER ReTaRDNESs");
setcolor(LIGHTGREEN);
outtextxy(m*3,150,"ÛÛÛÛ");
setcolor(BLACK);
delay(1);
outtextxy(m*3 ,150,"ÛÛÛÛ");

setcolor(LIGHTGREEN);
outtextxy(m,180,"By the gReAt ReTaRD");
setcolor(BLACK);
outtextxy(m-1,180,"By the gReAt ReTaRD");
setcolor(LIGHTGREEN);
outtextxy(m*3,180,"ÛÛÛÛ");
setcolor(BLACK);
delay(1);
outtextxy(m*3 ,180,"ÛÛÛÛ");

 }






setcolor(GREEN);
settextstyle(2,0,6);
outtextxy(230,120,"B");
delay(150);
outtextxy(240,120,"i");
delay(150);
outtextxy(250,120,"b");
delay(150);
outtextxy(261,120,"l");
delay(150);
outtextxy(268,120,"o");
delay(150);
outtextxy(276,120,"g");
delay(150);
outtextxy(285,120,"r");
delay(150);
outtextxy(295,120,"a");
delay(150);
outtextxy(304,120,"p");
delay(150);
outtextxy(319,120,"h");
delay(150);
outtextxy(328,120,"y");



setcolor(LIGHTGREEN);
settextstyle(2,0,6);
outtextxy(230,120,"B");
delay(45);
outtextxy(240,120,"i");
delay(45);
outtextxy(250,120,"b");
delay(45);
outtextxy(261,120,"l");
delay(45);
outtextxy(268,120,"o");
delay(45);
outtextxy(276,120,"g");
delay(45);
outtextxy(285,120,"r");
delay(45);
outtextxy(295,120,"a");
delay(45);
outtextxy(304,120,"p");
delay(45);
outtextxy(319,120,"h");
delay(45);
outtextxy(328,120,"y");



setcolor(GREEN);
settextstyle(2,0,6);
outtextxy(230,120,"B");
delay(150);
outtextxy(240,120,"i");
delay(150);
outtextxy(250,120,"b");
delay(150);
outtextxy(261,120,"l");
delay(150);
outtextxy(268,120,"o");
delay(150);
outtextxy(276,120,"g");
delay(150);
outtextxy(285,120,"r");
delay(150);
outtextxy(295,120,"a");
delay(150);
outtextxy(304,120,"p");
delay(150);
outtextxy(319,120,"h");
delay(150);
outtextxy(328,120,"y");


setcolor(LIGHTGREEN);
settextstyle(2,0,6);
outtextxy(230,120,"B");
delay(45);
outtextxy(240,120,"i");
delay(45);
outtextxy(250,120,"b");
delay(45);
outtextxy(261,120,"l");
delay(45);
outtextxy(268,120,"o");
delay(45);
outtextxy(276,120,"g");
delay(45);
outtextxy(285,120,"r");
delay(45);
outtextxy(295,120,"a");
delay(45);
outtextxy(304,120,"p");
delay(45);
outtextxy(319,120,"h");
delay(45);
outtextxy(328,120,"y");



setcolor(GREEN);
settextstyle(2,0,6);
outtextxy(230,120,"B");
delay(150);
outtextxy(240,120,"i");
delay(150);
outtextxy(250,120,"b");
delay(150);
outtextxy(261,120,"l");
delay(150);
outtextxy(268,120,"o");
delay(150);
outtextxy(276,120,"g");
delay(150);
outtextxy(285,120,"r");
delay(150);
outtextxy(295,120,"a");
delay(150);
outtextxy(304,120,"p");
delay(150);
outtextxy(319,120,"h");
delay(150);
outtextxy(328,120,"y");





for(m=10;m<350;m++)
{
setcolor(LIGHTGREEN);
settextstyle(2,0,5);
outtextxy(m,150,"ReDquaTEr's");
setcolor(BLACK);
outtextxy(m-1,150,"ReDquaTEr's");
setcolor(LIGHTGREEN);
outtextxy(m*3,150,"ÛÛÛÛ");
setcolor(BLACK);
delay(1);
outtextxy(m*3 ,150,"ÛÛÛÛ");

setcolor(LIGHTGREEN);
outtextxy(m,180,"Labortary");
setcolor(BLACK);
outtextxy(m-1,180,"Labortary");
setcolor(LIGHTGREEN);
outtextxy(m*3,180,"ÛÛÛÛ");
setcolor(BLACK);
delay(1);
outtextxy(m*3 ,180,"ÛÛÛÛ");

 }

for(m=10;m<255;m++)
{
settextstyle(2,0,5);
setcolor(LIGHTGREEN );
outtextxy(m*3,120,"ÛÛÛÛÛ");
setcolor(BLACK);
delay(1);
outtextxy(m*3 ,120,"ÛÛÛÛÛ");
}


setcolor(BLACK);
settextstyle(2,0,6);
outtextxy(230,120,"B");
delay(150);
outtextxy(240,120,"i");
delay(150);
outtextxy(250,120,"b");
delay(150);
outtextxy(261,120,"l");
delay(150);
outtextxy(268,120,"o");
delay(150);
outtextxy(276,120,"g");
delay(150);
outtextxy(285,120,"r");
delay(150);
outtextxy(295,120,"a");
delay(150);
outtextxy(304,120,"p");
delay(150);
outtextxy(319,120,"h");
delay(150);
outtextxy(328,120,"y");





setcolor(GREEN);
settextstyle(2,0,6);
outtextxy(230,120,"D");
delay(150);
outtextxy(240,120,"e");
delay(150);
outtextxy(250,120,"v");
delay(150);
outtextxy(261,120,"e");
delay(150);
outtextxy(268,120,"l");
delay(150);
outtextxy(276,120,"o");
delay(150);
outtextxy(285,120,"p");
delay(150);
outtextxy(295,120,"e");
delay(150);
outtextxy(304,120,"d");
delay(150);
outtextxy(319,120,"A");
delay(150);
outtextxy(328,120,"t");



setcolor(LIGHTGREEN);
settextstyle(2,0,6);
outtextxy(230,120,"D");
delay(45);
outtextxy(240,120,"e");
delay(45);
outtextxy(250,120,"v");
delay(45);
outtextxy(261,120,"e");
delay(45);
outtextxy(268,120,"l");
delay(45);
outtextxy(276,120,"o");
delay(45);
outtextxy(285,120,"p");
delay(45);
outtextxy(295,120,"e");
delay(45);
outtextxy(304,120,"d");
delay(45);
outtextxy(319,120,"A");
delay(45);
outtextxy(328,120,"t");



setcolor(GREEN);
settextstyle(2,0,6);
outtextxy(230,120,"D");
delay(150);
outtextxy(240,120,"e");
delay(150);
outtextxy(250,120,"v");
delay(150);
outtextxy(261,120,"e");
delay(150);
outtextxy(268,120,"l");
delay(150);
outtextxy(276,120,"o");
delay(150);
outtextxy(285,120,"p");
delay(150);
outtextxy(295,120,"e");
delay(150);
outtextxy(304,120,"d");
delay(150);
outtextxy(319,120,"A");
delay(150);
outtextxy(328,120,"t");


setcolor(LIGHTGREEN);
settextstyle(2,0,6);
outtextxy(230,120,"D");
delay(45);
outtextxy(240,120,"e");
delay(45);
outtextxy(250,120,"v");
delay(45);
outtextxy(261,120,"e");
delay(45);
outtextxy(268,120,"l");
delay(45);
outtextxy(276,120,"o");
delay(45);
outtextxy(285,120,"p");
delay(45);
outtextxy(295,120,"e");
delay(45);
outtextxy(304,120,"d");
delay(45);
outtextxy(319,120,"A");
delay(45);
outtextxy(328,120,"t");



setcolor(GREEN);
settextstyle(2,0,6);
outtextxy(230,120,"D");
delay(150);
outtextxy(240,120,"e");
delay(150);
outtextxy(250,120,"v");
delay(150);
outtextxy(261,120,"e");
delay(150);
outtextxy(268,120,"l");
delay(150);
outtextxy(276,120,"o");
delay(150);
outtextxy(285,120,"p");
delay(150);
outtextxy(295,120,"e");
delay(150);
outtextxy(304,120,"d");
delay(150);
outtextxy(319,120,"A");
delay(150);
outtextxy(328,120,"t");



for(m=10;m<255;m++)
{
settextstyle(2,0,5);
setcolor(LIGHTGREEN );
outtextxy(m*3,120,"ÛÛÛÛÛ");
setcolor(BLACK);
delay(1);
outtextxy(m*3 ,120,"ÛÛÛÛÛ");
}





setcolor(BLACK);
settextstyle(2,0,6);
outtextxy(230,120,"D");
delay(150);
outtextxy(240,120,"e");
delay(150);
outtextxy(250,120,"v");
delay(150);
outtextxy(261,120,"e");
delay(150);
outtextxy(268,120,"l");
delay(150);
outtextxy(276,120,"o");
delay(150);
outtextxy(285,120,"p");
delay(150);
outtextxy(295,120,"e");
delay(150);
outtextxy(304,120,"d");
delay(150);
outtextxy(319,120,"A");
delay(150);
outtextxy(328,120,"t");



for(int i=1;i<30;i++)
{
   setcolor(BLACK);
 p[0]=0,p[1]=30,p[2]=630,p[3]=30,p[4]=630,p[5]=475,p[6]=0,p[7]=475,p[8]=0,p[9]=30;
 setfillstyle(SOLID_FILL,BLACK);
 fillpoly(5,p);


setcolor(GREEN);
moveto(10,1+(i*2));
settextstyle(2,1,6);
 outtext(" E D 3F E R T Y U I2 2G ER 4R E5 D7 4D D4 YT 7Y6 6Y8 6 YY Y6 Y65 6 6Y RE 7ER RE6 RT  RT TR5  55Y YH UJJJ JUJ JUJ JUJ JUJ DFD G5 55 5TT  RT TRT TRTR RTRT  TRT TRTR TRT TRT THYHY YHY 22@@ @@ @@ @@ !! @@# $$ #@# $@ #$@$@ $@ #@ @tg @#@");
setcolor(LIGHTGREEN);
moveto(10,1+(i*9 ));
settextstyle(2,1,5);
 outtext("@ÛÛ@#");





setcolor(GREEN);
//outtext("1");
moveto(30,1+(i*3));
settextstyle(2,1,6);
//delay(30);
 outtext(" 1 0 01 10 101 011 01 01 101 101 01 01 101 0 101 010 101 010 10110  0110 101 1010 011 0  01 0101 010 0101 010  011 010 101 001 0101 010  01101 10 10 101 10  01101 0110 101 0 01  0 0101 010 011 0 010 010 010 0101 0 101 010 0 10  010");
setcolor(LIGHTGREEN);
moveto(30,1+(i*12 ));
settextstyle(2,1,5);
//delay(30);
 outtext("@#@#");





setcolor(GREEN);
//outtext("1");
moveto(50,1+(i*9));
settextstyle(2,1,7);
//delay(30);
 outtext("  E    D 3F E R T  !! @@# $$ #@# $@ #$@$@ $@ #@ @tg @#@");
setcolor (LIGHTGREEN);
moveto(50,1+(i*10 ));
settextstyle(2,1,5);
//delay(30);
 outtext("ÛÛÛÛ");






setcolor(LIGHTGREEN);
moveto(80,1+(i*15 ));
settextstyle(2,1,5);
//delay(30);
 outtext("$ÛÛE");

setcolor(GREEN);
//outtext("1");
moveto(100,1+(i*7));
settextstyle(2,1,7);
//delay(30);
 outtext(" E D 3F E R T Y U I2 2G ER 4R E5 D7 4D D4 YT 7Y6 6Y8 6 YY Y6 Y65 6 6Y RE 7ER RE6 RT  RT TR5  55Y YH UJJJ JUJ JUJ JUJ JUJ DFD G5 55 5TT  RT TRT TRTR RTRT  TRT TRTR TRT TRT THYHY YHY 22@@ @@ @@ @@ !! @@# $$ #@# $@ #$@$@ $@ #@ @tg @#@");




 setcolor(LIGHTGREEN);
moveto(135,1+(i*10 ));
settextstyle(11,1,10);
//delay(30);
 outtext("10@#@");
setcolor(GREEN);
//outtext("1");
moveto(120,1+(i*4));
settextstyle(2,1,7);
//delay(30);
 outtext(" E#E @$$ #@$@ #$@$@ $@#@   @t g      @#@");
			 //NEW  NEW

 setcolor(LIGHTGREEN);
moveto(140,1+(i*20 ));
settextstyle(2,1,5);
//delay(30);
 outtext("ÛÛÛÛ");


 setcolor(LIGHTGREEN);
moveto(160,1+(i*3 ));
settextstyle(2,1,5);
//delay(30);
 outtext("                                     10@#@");
setcolor(GREEN);
//outtext("1");
moveto(160,1+(i*2));
settextstyle(2,1,7);
//delay(30);
 outtext(" E#E @$$ #@$@ #$@$@ $@#@   @t g      @#@");

 setcolor(LIGHTGREEN);
moveto(180,1+(i*7 ));
settextstyle(2,1,5);
//delay(30);
 outtext("               ÛÛÛÛ1Û@");
setcolor(GREEN);
//outtext("1");
moveto(180,1+(i*3));
settextstyle(2,1,7);
//delay(30);
 outtext(" E#E @$$ #@$@ #$@$@ $@#@  @%@%% @% @525 @%!^^ !%@^% !%@$&@$ !6!4 @%@ @t g   @#@");




 setcolor(LIGHTGREEN);
moveto(210,1+(i*7 ));
settextstyle(2,1,5);
//delay(30);
 outtext(" ÛÛÛÛÛ              ÛÛÛÛ1Û@");

setcolor(GREEN);
//outtext("1");
moveto(210,1+(i*2));
settextstyle(2,1,5);
//delay(30);
 outtext(" 10 01 110 01010 0101 101 111011 010101 01101 0101 1010101 0101010 00001110 101 0101 001010 0 01");



 setcolor(LIGHTGREEN);
moveto(220,1+(i*12));
settextstyle(2,1,5);
//delay(30);
 outtext("   Û     ÛÛÛ ");

setcolor(GREEN);
//outtext("1");
moveto(220,1+(i*2));
settextstyle(2,1,5);
//delay(30);
 outtext("        453 984 0 49-9-34 KTG -G3-=3 =3G2\P BK9B437 HN 37  4764393 F4H74Y84 HGN3G4 JNG 4 GRJ9 M8J4OI4M0 9 4M0GG09 3KGP  010  0" );


 setcolor(LIGHTGREEN);
moveto(235,1+(i*10));
settextstyle(2,1,5);
//delay(30);
 outtext("    ÛÛ        ÛÛ           ÛÛÛÛÛ   ");


setcolor(GREEN);
//outtext("1");
moveto(235,1+(i*10));
settextstyle(2,1,6);
//delay(30);
 outtext("  2\P BK9B437 HN 37  4764393 F4H74Y84 HGN3G4 JNG 4 GRJ9 M8J4OI4M0 9 4M0GG09 3KGP  010  0 013 JD MATRIX");




 setcolor(LIGHTGREEN);
moveto(285,1+(i*30));
settextstyle(2,1,6);
//delay(30);
 outtext("    ÛÛÛÛÛÛÛÛÛ   ");

 setcolor(GREEN);
moveto(270,1+(i*6));
settextstyle(2,1,6);
//delay(30);
 outtext("$10 010 0101 010 01 10 101 101010 01 010 10 10 101 101 0100 1010010 10 01@@3E");

setcolor(GREEN);
//outtext("1");
moveto(300,1+(i*6));
settextstyle(2,1,6);
//delay(30);
 outtext(" E@$%@^ @^%@^@ 6@%^@^ !@^%              @@^%^ @^@^^&#^%&@*&@( D 3F E R 10 01010 01010 01010 010 010 10 0101010 010 1010 10 1 $@ #@ @tg @#@");



setcolor(GREEN);
//outtext("1");
moveto(325,1+(i*2));
settextstyle(2,1,6);
//delay(30);
 outtext(" E D 3F E R T Y U I2 2G ER 4R E5 D7 4D D4 YT 7Y6 6Y8 6 YY Y6 Y65 6 6Y RE 7ER RE6 RT  RT TR5  55Y YH UJJJ JUJ JUJ JUJ JUJ DFD G5 55 5TT  RT TRT TRTR RTRT  TRT TRTR TRT TRT THYHY YHY 22@@ @@ @@ @@ !! @@# $$ #@# $@ #$@$@ $@ #@ @tg @#@");

setcolor(LIGHTGREEN);
moveto(330,1+(i*9));
settextstyle(11,1,6);
//delay(30);
 outtext("101010");



setcolor(GREEN);
//outtext("1");
moveto(345,1+(i*4));
settextstyle(2,1,6);
//delay(30);
 outtext(" 10 010 010 1010 0101 010 10 10 1010 1010 10 101 010101 01 010 10101 01 010 10 101 0101 0101 010110 1 10101 10 0110 10 1101 10 01 01 10 01101  110110  101 01 01 0101010 10 010101 0 101010 10101 010 10 101 010 1 010 1 0 10 01  001 01010  101 101001");
setcolor(LIGHTGREEN);
moveto(375,1+(i*18 ));
settextstyle(11,1,6);
//delay(30);
 outtext("0111010 010 01");



setcolor(GREEN);
//outtext("1");
moveto(380,1+(i*2));
settextstyle(2,1,6);
//delay(30);
 outtext(" E D 3F E R T Y U 1010 01010 0101 01010 010 010 10 0101 100101 0101010 01010 01 0101 010101 010 10101  10101 1 10101  10 @tg @#@");

setcolor(LIGHTGREEN);
moveto(400,1+(i*12));
settextstyle(11,1,5);
//delay(30);
 outtext("ÛÛÛÛÛÛ            101010           ÛÛÛÛÛÛ");



 setcolor(GREEN);
moveto(410,1+(i*5));
settextstyle(2,1,7);
//delay(30);
 outtext("áàÝâäêáêëëá àÝâäêáê ëëáàÝâ äêáêëëá àÝâäêáê ëëáàÝâä êáêëëá àÝâäêá êëë á àÝâä êáê  áàÝâä êáêëë áàÝâä êáêëëë ëþ");


 setcolor(GREEN);
moveto(435,1+(i*3));
settextstyle(2,1,7);
//delay(30);
 outtext("áàÝâäêáêëëá àÝâäêáê ëëáàÝâ äêáêëëá àÝâäêáê ëëáàÝâä êáêëëá àÝâäêá êëë á àÝâä êáê  áàÝâä êáêëë áàÝâä êáêëëë ëþ");


setcolor(LIGHTGREEN);
//outtext("1");
moveto(450,1+(i*10));
settextstyle(11,1,5);
//delay(30);
 outtext("00101           001010 ");


setcolor(GREEN);
//outtext("1");
moveto(480,1+(i*3));
settextstyle(2,1,7);
//delay(30);
 outtext(" ÛÛÛÛÛÛÛ9ÛÛÛÛ2À2E@$%@^ @^%@^@ 6@%^@^ !@^% @@^%^ @^@^^&#^%&@*&@ D 3F E R  #@ @tg @#@");

setcolor(LIGHTGREEN);
//outtext("1");
moveto(490,1+(i*11));
settextstyle(11,1,5);
//delay(30);
 outtext("ÛÛ ");


setcolor(GREEN);
//outtext("1");
moveto(510,1+(i*3));
settextstyle(2,1,6);
//delay(30);
 outtext(" E D 3F E R T Y U 1010 01010 0101 01010 010 010 10 0101 100101 0101010 01010 01 0101 010101 010 10101  10101 1 10101  10 @tg @#@");


setcolor(GREEN);
//outtext("1");
moveto(535,1+(i*5));
settextstyle(2,1,6);
//delay(30);
 outtext(" ÛÛÛÛÛÛÛ9ÛÛÛÛ2À2E@$%@^ @^%@^@ 6@%^@^ !@^% @@^%^ @^@^^&#^%&@*&@ D 3F E R  #@ @tg @#@");

setcolor(LIGHTGREEN);
//outtext("1");
moveto(545,1+(i*24));
settextstyle(2,1,6);
//delay(30);
 outtext("902áàáàâÝ");


setcolor(GREEN);
//outtext("1");
moveto(560,1+(i*7));
settextstyle(2,1,6);
//delay(30);
 outtext(" E D 3F E R T Y U 1010 01010 0101 01010 010 010 10 0101 100101 0101010 01010 01 0101 010101 010 10101  10101 1 10101  10 @tg @#@");



setcolor(GREEN);
//outtext("1");
moveto(580,1+(i*3));
settextstyle(2,1,5);
//delay(30);
 outtext(" E D 3F E R T Y U 1010 01010 0101 01010 010 010 10 0101 100101 0101010 01010 01 0101 010101 010 10101  10101 1 10101  10 @tg @#@");
setcolor(LIGHTGREEN);
//outtext("1");
moveto(590,1+(i*27));
settextstyle(2,1,6);
//delay(30);
 outtext("ÛÛÛÛÛÛ");

setcolor(GREEN);
//outtext("1");
moveto(600,1+(i*2));
settextstyle(2,1,7);
//delay(30);

  outtext(" E#E @$$ #@$@ #$@$@ $@#@  @%@%% @% @525 @%!^^ !%@^% !%@$&@$ !6!4 @%@ @t g   @#@");

 setcolor(LIGHTGREEN);
//outtext("1");
moveto(610,1+(i*28));
settextstyle(2,1,6);
//delay(30);
 outtext("ÛÛÛÛÛÛ");


}

   setcolor(BLACK);
 p[0]=0,p[1]=30,p[2]=630,p[3]=30,p[4]=630,p[5]=475,p[6]=0,p[7]=475,p[8]=0,p[9]=30;
 setfillstyle(SOLID_FILL,BLACK);
 fillpoly(5,p);

setcolor(GREEN);
//outtext("1");
moveto(10,1+(i*2));
settextstyle(2,1,6);
//delay(30);
 outtext(" E D 3F E R T Y U I2 2G ER 4R E5 D7 4D D4 YT 7Y6 6Y8 6 YY Y6 Y65 6 6Y RE 7ER RE6 RT  RT TR5  55Y YH UJJJ JUJ JUJ JUJ JUJ DFD G5 55 5TT  RT TRT TRTR RTRT  TRT TRTR TRT TRT THYHY YHY 22@@ @@ @@ @@ !! @@# $$ #@# $@ #$@$@ $@ #@ @tg @#@");
setcolor(LIGHTGREEN);
moveto(10,1+(i*9 ));
settextstyle(2,1,5);
//delay(30);
 outtext("@ÛÛ@#");





setcolor(GREEN);
//outtext("1");
moveto(30,1+(i*3));
settextstyle(2,1,6);
//delay(30);
 outtext(" 1 0 01 10 101 011 01 01 101 101 01 01 101 0 101 010 101 010 10110  0110 101 1010 011 0  01 0101 010 0101 010  011 010 101 001 0101 010  01101 10 10 101 10  01101 0110 101 0 01  0 0101 010 011 0 010 010 010 0101 0 101 010 0 10  010");
setcolor(LIGHTGREEN);
moveto(30,1+(i*12 ));
settextstyle(2,1,5);
//delay(30);
 outtext("@#@#");





setcolor(GREEN);
//outtext("1");
moveto(50,1+(i*9));
settextstyle(2,1,7);
//delay(30);
 outtext("  E    D 3F E R T  !! @@# $$ #@# $@ #$@$@ $@ #@ @tg @#@");
setcolor (LIGHTGREEN);
moveto(50,1+(i*10 ));
settextstyle(2,1,5);
//delay(30);
 outtext("ÛÛÛÛ");






setcolor(LIGHTGREEN);
moveto(80,1+(i*15 ));
settextstyle(2,1,5);
//delay(30);
 outtext("$ÛÛE");

setcolor(GREEN);
//outtext("1");
moveto(100,1+(i*7));
settextstyle(2,1,7);
//delay(30);
 outtext(" E D 3F E R T Y U I2 2G ER 4R E5 D7 4D D4 YT 7Y6 6Y8 6 YY Y6 Y65 6 6Y RE 7ER RE6 RT  RT TR5  55Y YH UJJJ JUJ JUJ JUJ JUJ DFD G5 55 5TT  RT TRT TRTR RTRT  TRT TRTR TRT TRT THYHY YHY 22@@ @@ @@ @@ !! @@# $$ #@# $@ #$@$@ $@ #@ @tg @#@");




 setcolor(LIGHTGREEN);
moveto(135,1+(i*10 ));
settextstyle(11,1,10);
//delay(30);
 outtext("10@#@");
setcolor(GREEN);
//outtext("1");
moveto(120,1+(i*4));
settextstyle(2,1,7);
//delay(30);
 outtext(" E#E @$$ #@$@ #$@$@ $@#@   @t g      @#@");
			 //NEW  NEW

 setcolor(LIGHTGREEN);
moveto(140,1+(i*20 ));
settextstyle(2,1,5);
//delay(30);
 outtext("ÛÛÛÛ");


 setcolor(LIGHTGREEN);
moveto(160,1+(i*3 ));
settextstyle(2,1,5);
//delay(30);
 outtext("                                     10@#@");
setcolor(GREEN);
//outtext("1");
moveto(160,1+(i*2));
settextstyle(2,1,7);
//delay(30);
 outtext(" E#E @$$ #@$@ #$@$@ $@#@   @t g      @#@");

 setcolor(LIGHTGREEN);
moveto(180,1+(i*7 ));
settextstyle(2,1,5);
//delay(30);
 outtext("               ÛÛÛÛ1Û@");
setcolor(GREEN);
//outtext("1");
moveto(180,1+(i*3));
settextstyle(2,1,7);
//delay(30);
 outtext(" E#E @$$ #@$@ #$@$@ $@#@  @%@%% @% @525 @%!^^ !%@^% !%@$&@$ !6!4 @%@ @t g   @#@");




 setcolor(LIGHTGREEN);
moveto(210,1+(i*7 ));
settextstyle(2,1,5);
//delay(30);
 outtext(" ÛÛÛÛÛ              ÛÛÛÛ1Û@");

setcolor(GREEN);
//outtext("1");
moveto(210,1+(i*2));
settextstyle(2,1,5);
//delay(30);
 outtext(" 10 01 110 01010 0101 101 111011 010101 01101 0101 1010101 0101010 00001110 101 0101 001010 0 01");



 setcolor(LIGHTGREEN);
moveto(220,1+(i*12));
settextstyle(2,1,5);
//delay(30);
 outtext("   Û     ÛÛÛ ");

setcolor(GREEN);
//outtext("1");
moveto(220,1+(i*2));
settextstyle(2,1,5);
//delay(30);
 outtext("        453 984 0 49-9-34 KTG -G3-=3 =3G2\P BK9B437 HN 37  4764393 F4H74Y84 HGN3G4 JNG 4 GRJ9 M8J4OI4M0 9 4M0GG09 3KGP  010  0" );


 setcolor(LIGHTGREEN);
moveto(235,1+(i*10));
settextstyle(2,1,5);
//delay(30);
 outtext("    ÛÛ        ÛÛ           ÛÛÛÛÛ   ");


setcolor(GREEN);
//outtext("1");
moveto(235,1+(i*10));
settextstyle(2,1,6);
//delay(30);
 outtext("  2\P BK9B437 HN 37  4764393 F4H74Y84 HGN3G4 JNG 4 GRJ9 M8J4OI4M0 9 4M0GG09 3KGP  010  0 013 JD MATRIX");




 setcolor(LIGHTGREEN);
moveto(285,1+(i*30));
settextstyle(2,1,6);
//delay(30);
 outtext("    ÛÛÛÛÛÛÛÛÛ   ");

 setcolor(GREEN);
moveto(270,1+(i*6));
settextstyle(2,1,6);
//delay(30);
 outtext("$10 010 0101 010 01 10 101 101010 01 010 10 10 101 101 0100 1010010 10 01@@3E");

setcolor(GREEN);
//outtext("1");
moveto(300,1+(i*6));
settextstyle(2,1,6);
//delay(30);
 outtext(" E@$%@^ @^%@^@ 6@%^@^ !@^%              @@^%^ @^@^^&#^%&@*&@( D 3F E R 10 01010 01010 01010 010 010 10 0101010 010 1010 10 1 $@ #@ @tg @#@");



setcolor(GREEN);
//outtext("1");
moveto(325,1+(i*2));
settextstyle(2,1,6);
//delay(30);
 outtext(" E D 3F E R T Y U I2 2G ER 4R E5 D7 4D D4 YT 7Y6 6Y8 6 YY Y6 Y65 6 6Y RE 7ER RE6 RT  RT TR5  55Y YH UJJJ JUJ JUJ JUJ JUJ DFD G5 55 5TT  RT TRT TRTR RTRT  TRT TRTR TRT TRT THYHY YHY 22@@ @@ @@ @@ !! @@# $$ #@# $@ #$@$@ $@ #@ @tg @#@");

setcolor(LIGHTGREEN);
moveto(330,1+(i*9));
settextstyle(11,1,6);
//delay(30);
 outtext("101010");



setcolor(GREEN);
//outtext("1");
moveto(345,1+(i*4));
settextstyle(2,1,6);
//delay(30);
 outtext(" 10 010 010 1010 0101 010 10 10 1010 1010 10 101 010101 01 010 10101 01 010 10 101 0101 0101 010110 1 10101 10 0110 10 1101 10 01 01 10 01101  110110  101 01 01 0101010 10 010101 0 101010 10101 010 10 101 010 1 010 1 0 10 01  001 01010  101 101001");
setcolor(LIGHTGREEN);
moveto(375,1+(i*18 ));
settextstyle(11,1,6);
//delay(30);
 outtext("0111010 010 01");



setcolor(GREEN);
//outtext("1");
moveto(380,1+(i*2));
settextstyle(2,1,6);
//delay(30);
 outtext(" E D 3F E R T Y U 1010 01010 0101 01010 010 010 10 0101 100101 0101010 01010 01 0101 010101 010 10101  10101 1 10101  10 @tg @#@");

setcolor(LIGHTGREEN);
moveto(400,1+(i*12));
settextstyle(11,1,5);
//delay(30);
 outtext("ÛÛÛÛÛÛ            101010           ÛÛÛÛÛÛ");



 setcolor(GREEN);
moveto(410,1+(i*5));
settextstyle(2,1,7);
//delay(30);
 outtext("áàÝâäêáêëëá àÝâäêáê ëëáàÝâ äêáêëëá àÝâäêáê ëëáàÝâä êáêëëá àÝâäêá êëë á àÝâä êáê  áàÝâä êáêëë áàÝâä êáêëëë ëþ");


 setcolor(GREEN);
moveto(435,1+(i*3));
settextstyle(2,1,7);
//delay(30);
 outtext("áàÝâäêáêëëá àÝâäêáê ëëáàÝâ äêáêëëá àÝâäêáê ëëáàÝâä êáêëëá àÝâäêá êëë á àÝâä êáê  áàÝâä êáêëë áàÝâä êáêëëë ëþ");


setcolor(LIGHTGREEN);
//outtext("1");
moveto(450,1+(i*10));
settextstyle(11,1,5);
//delay(30);
 outtext("00101           001010 ");


setcolor(GREEN);
//outtext("1");
moveto(480,1+(i*3));
settextstyle(2,1,7);
//delay(30);
 outtext(" ÛÛÛÛÛÛÛ9ÛÛÛÛ2À2E@$%@^ @^%@^@ 6@%^@^ !@^% @@^%^ @^@^^&#^%&@*&@ D 3F E R  #@ @tg @#@");

setcolor(LIGHTGREEN);
//outtext("1");
moveto(490,1+(i*11));
settextstyle(11,1,5);
//delay(30);
 outtext("ÛÛ ");


setcolor(GREEN);
//outtext("1");
moveto(510,1+(i*3));
settextstyle(2,1,6);
//delay(30);
 outtext(" E D 3F E R T Y U 1010 01010 0101 01010 010 010 10 0101 100101 0101010 01010 01 0101 010101 010 10101  10101 1 10101  10 @tg @#@");


setcolor(GREEN);
//outtext("1");
moveto(535,1+(i*5));
settextstyle(2,1,6);
//delay(30);
 outtext(" ÛÛÛÛÛÛÛ9ÛÛÛÛ2À2E@$%@^ @^%@^@ 6@%^@^ !@^% @@^%^ @^@^^&#^%&@*&@ D 3F E R  #@ @tg @#@");

setcolor(LIGHTGREEN);
//outtext("1");
moveto(545,1+(i*24));
settextstyle(2,1,6);
//delay(30);
 outtext("902áàáàâÝ");


setcolor(GREEN);
//outtext("1");
moveto(560,1+(i*7));
settextstyle(2,1,6);
//delay(30);
 outtext(" E D 3F E R T Y U 1010 01010 0101 01010 010 010 10 0101 100101 0101010 01010 01 0101 010101 010 10101  10101 1 10101  10 @tg @#@");



setcolor(GREEN);
//outtext("1");
moveto(580,1+(i*3));
settextstyle(2,1,5);
//delay(30);
 outtext(" E D 3F E R T Y U 1010 01010 0101 01010 010 010 10 0101 100101 0101010 01010 01 0101 010101 010 10101  10101 1 10101  10 @tg @#@");
setcolor(LIGHTGREEN);
//outtext("1");
moveto(590,1+(i*27));
settextstyle(2,1,6);
//delay(30);
 outtext("ÛÛÛÛÛÛ");

setcolor(GREEN);
//outtext("1");
moveto(600,1+(i*2));
settextstyle(2,1,7);
//delay(30);

  outtext(" E#E @$$ #@$@ #$@$@ $@#@  @%@%% @% @525 @%!^^ !%@^% !%@$&@$ !6!4 @%@ @t g   @#@");

 setcolor(LIGHTGREEN);
//outtext("1");
moveto(610,1+(i*28));
settextstyle(2,1,6);
//delay(30);
 outtext("ÛÛÛÛÛÛ");


int sq[40];
setcolor(LIGHTGREEN);
sq[0]=200,sq[1]=200,sq[2]=400,sq[3]=200,sq[4]=400,sq[5]=240,sq[6]=200,sq[7]=240,sq[8]=200,sq[9]=200;
setfillstyle(SOLID_FILL,BLACK);
fillpoly(5,sq);
settextstyle(11,0,2);
outtextxy(230,217,"PROGRAM TERMINATED");
delay(3500);
setcolor(LIGHTGREEN);
sq[0]=200,sq[1]=200,sq[2]=400,sq[3]=200,sq[4]=400,sq[5]=240,sq[6]=200,sq[7]=240,sq[8]=200,sq[9]=200;
setfillstyle(SOLID_FILL,BLACK);
fillpoly(5,sq);
settextstyle(11,0,2);
outtextxy(240,217,"T");
delay(150);
outtextxy(255,217,"H");
delay(150);
outtextxy(270,217,"E");
delay(150);
outtextxy(310,217,"E");
delay(150);
outtextxy(325,217,"N");
delay(150);
outtextxy(340,217,"D");

delay(500);
getch();
//    closegraph();

}
void sc()
{int p[16];
rectangle(160,50,460,90);
p[0]=160;   p[1]=45; p[2]=180; p[3]=30; p[4]=540; p[5]=30;  //MAIN SCREEN
p[6]=560; p[7]=45; p[8]=560; p[9]=185; p[10]=540; p[11]=200;
p[12]=180; p[13]=200; p[14]=160; p[15]=185;
setfillstyle(SOLID_FILL,BLUE);
fillpoly(8,p);
}
void button_u(int left,int top,int right,int bottom,int colo,int co,char*di="")
{
int x1,x2,x3,x4,s[20];
setcolor(LIGHTBLUE);
rectangle(left,top,right,bottom);
x1=left+3;
x2=top+3;
x3=right-3;
x4=bottom-3;
setcolor(LIGHTBLUE);
s[0]=x1; s[1]=x2;s[2]=x3;s[3]=x2;s[4]=x3;s[5]=x4;s[6]=x1;s[7]=x4;s[8]=x1;s[9]=x2;
setfillstyle(SOLID_FILL,colo);
fillpoly(5,s);
setcolor(WHITE);

setlinestyle(0,1,2);
line(left,top,x1,x2);
line(right,top,x3,x2);
line(left,bottom,x1,x4);
line(right,bottom,x3,x4);
settextstyle(4,0,1);
setcolor(co);
moveto(((x1+x3)/2)- 4,((x4+x2)/2)-14);
outtext(di);
setcolor(LIGHTGRAY);
for(int i=1;i<3;i++)
line(left+i,top+i,right-i,top+i);

for(i=1;i<3;i++)
line(left+i,top+i,left+i,bottom-i);
setcolor(BLACK);
for(i=1;i<3;i++)
line(right-i,top+i,right-i,bottom-i);
for(i=1;i<3;i++)
line(left+i,bottom-i,right-i,bottom-i);
setcolor(LIGHTBLUE);
line(left,top,x1,x2);
line(right,top,x3,x2);
line(left,bottom,x1,x4);
line(right,bottom,x3,x4);

}
void button_p(int left,int top,int right,int bottom,int colo,int co,char*di="")
{
int x1,x2,x3,x4,s[20];
settextjustify(LEFT_TEXT,TOP_TEXT);


setcolor(LIGHTBLUE);
rectangle(left,top,right,bottom);
x1=left+3;
x2=top+3;
x3=right-3;
x4=bottom-3;
setcolor(LIGHTBLUE);
s[0]=x1; s[1]=x2;s[2]=x3;s[3]=x2;s[4]=x3;s[5]=x4;s[6]=x1;s[7]=x4;s[8]=x1;s[9]=x2;
setfillstyle(SOLID_FILL,colo);
fillpoly(5,s);

setcolor(WHITE);

setlinestyle(0,1,2);
line(left,top,x1,x2);
line(right,top,x3,x2);
line(left,bottom,x1,x4);
line(right,bottom,x3,x4);
settextstyle(4,0,1);
setcolor(co);

moveto((((x1+x3)/2)-4)+2,(((x4+x2)/2)-12)+2);
outtext(di);
setcolor(BLACK);
for(int i=1;i<3;i++)
line(left+i,top+i,right-i,top+i);

for(i=1;i<3;i++)
line(left+i,top+i,left+i,bottom-i);
setcolor(LIGHTGRAY);
for(i=1;i<3;i++)
line(right-i,top+i,right-i,bottom-i);
for(i=1;i<3;i++)
line(left+i,bottom-i,right-i,bottom-i);

setcolor(LIGHTBLUE);
line(left,top,x1,x2);
line(right,top,x3,x2);
line(left,bottom,x1,x4);
line(right,bottom,x3,x4);
sound(500);
delay(10);
nosound();
delay(190);



setcolor(LIGHTBLUE);
s[0]=x1; s[1]=x2;s[2]=x3;s[3]=x2;s[4]=x3;s[5]=x4;s[6]=x1;s[7]=x4;s[8]=x1;s[9]=x2;
setfillstyle(SOLID_FILL,colo);
fillpoly(5,s);

settextstyle(4,0,1);
setcolor(co);
moveto(((x1+x3)/2)-4,((x4+x2)/2)-12);
outtext(di);
setcolor(LIGHTGRAY);
for(i=1;i<3;i++)
line(left+i,top+i,right-i,top+i);

for(i=1;i<3;i++)
line(left+i,top+i,left+i,bottom-i);
setcolor(BLACK);
for(i=1;i<3;i++)
line(right-i,top+i,right-i,bottom-i);
for(i=1;i<3;i++)
line(left+i,bottom-i,right-i,bottom-i);
sound(400);
delay(10);
nosound();


setcolor(LIGHTBLUE);
line(left,top,x1,x2);
line(right,top,x3,x2);
line(left,bottom,x1,x4);
line(right,bottom,x3,x4);
}
void display()
{


int d[35];
  d[0]=122; d[1]=135;d[2]=122;d[3]=37;d[4]=143;d[5]=16;d[6]=172;d[7]=0;
  d[8]=546;d[9]=0;d[10]=574;d[11]=13;d[12]=598;d[13]=37;d[14]=598;d[15]=255;
  d[16]=536;d[17]=282;d[18]=534;d[19]=380;d[20]=534;d[21]=380;d[22]=492;d[23]=410;
  d[24]=230;d[25]=410;d[26]=185;d[27]=380;d[28]=185;d[29]=282;d[30]=122;d[31]=258;
  d[32]=122;d[33]=135;
  setfillstyle(SOLID_FILL,RED);
    fillpoly(17,d);
     int a[18];
    a[0]=200;a[1]=255;a[2]=280;a[3]=255;a[4]=520;a[5]=255;a[6]=520;a[7]=370;
  a[8]=490;a[9]=390;a[10]=230;a[11]=390;a[12]=200;a[13]=370;a[14]=200;a[15]=255;
  a[16]=200;a[17]=255;
  setfillstyle(SOLID_FILL,DARKGRAY);
    fillpoly(9,a);

    int b[19];

  b[0]=410;b[1]=260;b[2]=440;b[3]=260;b[4]=515;b[5]=260;b[6]=515;b[7]=260;
  b[8]=515;b[9]=285;b[10]=515;b[11]=315;b[12]=515;b[13]=365;b[14]=410;b[15]=365;
  b[16]=410;b[17]=260;
  setfillstyle(SOLID_FILL,BLACK);
  fillpoly(9,b);
  int c[23];
   setcolor(WHITE);
  c[0]=130;c[1]=135;c[2]=130;c[3]=40;c[4]=150;c[5]=20;c[6]=180;c[7]=5;
  c[8]=540;c[9]=5;c[10]=570;c[11]=20;c[12]=590;c[13]=40;c[14]=590;c[15]=235;
  c[16]=540;c[17]=220;c[18]=180;c[19]=220;c[20]=130;c[21]=235;
  setfillstyle(SOLID_FILL,BLACK);
  fillpoly(11,c);
  line(130,40,122,37);
   line(150,20,143,16);
   line(180,5,172,0);
   line(540,5,546,0);
   line(570,20,574,13);
   line(590,40,598,37);
   line(597,254,590,235);
   line(520,255,536,282);
   line(521,370,534,380);
   line(490,390,492,410);
   line(230,390,230,410);
   line(200,370,185,380);
   line(200,255,185,282);
   line(124,258,130,235);


   //screen
   int p[30];
   setcolor(9);
   p[0]=150;   p[1]=45; p[2]=180; p[3]=20; p[4]=540; p[5]=20; //1 ST SCREEN
  p[6]=570; p[7]=45; p[8]=570; p[9]=185; p[10]=540; p[11]=210;
  p[12]=180; p[13]=210; p[14]=150; p[15]=185; p[16]=150;   p[17]=45;
 setfillstyle(SOLID_FILL,GREEN);
  fillpoly(9,p);
  rectangle(160,50,460,90);
  p[0]=160;   p[1]=45; p[2]=180; p[3]=30; p[4]=540; p[5]=30;  //MAIN SCREEN
   p[6]=560; p[7]=45; p[8]=560; p[9]=185; p[10]=540; p[11]=200;
    p[12]=180; p[13]=200; p[14]=160; p[15]=185;
  setfillstyle(SOLID_FILL,BLUE);
  fillpoly(8,p);

    //oh crap this is crazy stuff
button_u(280,365,310,390,0,7,"0");
button_u(215,260,240,285,0,7,"1");
button_u(280,260,310,285,0,7,"2");
button_u(350,260,380,285,0,7,"3");
button_u(215,298,240,323,0,7,"4");
button_u(280,298,310,323,0,7,"5");
button_u(350,298,380,323,0,7,"6");
button_u(215,335,240,360,0,7,"7");
button_u(280,335,310,360,0,7,"8");
button_u(350,335,380,360,0,7,"9");
button_u(450,262,475,287,0,7,"À");
button_u(485,262,510,287,0,7,"es");
button_u(415,298,440,323,0,7,"½");
button_u(445,298,480,323,0,7,"ok");
button_u(485,298,510,323,0,7,"Á");
button_u(450,335,475,360,0,7,"»");
getch();

    }
void madd()
{
scro++;
sc();
i=xi1;
j=yi1;
for(int m=scro;m<limit;m++)
{
redout(screen[m]);
j+=20;i=xi1;
}
limit++;
}
void madu()
{
scro--;
limit--;
sc();
i=xi1 ;
j=yi1;
for(int m=scro;m<limit;m++)
{
redout(screen[m]);
j+=20;i=xi1;
}
}
char take(int cho,char s)
{int jack=0;
switch(s)
{
case 'u':
switch(cho)
{
case '1':
jack++;
case 'a':
jack++;
case 'b':
jack++;
case 'c':
jack++;
button_p(215,260,240,285,0,7,"1");
switch(jack)
{
case 4:
redout("1");
break;
case 3:
redout("a");
break;
case 2:
redout("b");
break;
case 1:
redout("c");
break;
}
break;
case '2':
jack++;
case 'd':
jack++;
case 'e':
jack++;
case 'f':
jack++;
button_p(280,260,310,285,0,7,"2");
switch(jack)
{
case 4:
redout("2");
break;
case 3:
redout("d");
break;
case 2:
redout("e");
break;
case 1:
redout("f");
break;
}
break;
case '3':
jack++;
case 'g':
jack++;
case 'h':
jack++;
case 'i':
jack++;
button_p(350,260,380,285,0,7,"3");
switch(jack)
{
case 4:
redout("3");
break;
case 3:
redout("g");
break;
case 2:
redout("h");
break;
case 1:
redout("i");
break;
}

break;
case '4':
jack++;
case 'j':
jack++;
case 'k':
jack++;
case 'l':
jack++;
button_p(215,298,240,323,0,7,"4");
switch(jack)
{
case 4:
redout("4");
break;
case 3:
redout("j");
break;
case 2:
redout("k");
break;
case 1:
redout("l");
break;
}

break;
case '5':
jack++;
case 'm':
jack++;
case 'n':
jack++;
case 'o':
jack++;
button_p(280,298,310,323,0,7,"5");
switch(jack)
{
case 4:
redout("5");
break;
case 3:
redout("m");
break;
case 2:
redout("n");
break;
case 1:
redout("o");
break;
}
break;
case '6':
jack++;
case 'p':
jack++;
case 'q':
jack++;
case 'r':
jack++;
button_p(350,298,380,323,0,7,"6");
switch(jack)
{
case 4:
redout("6");
break;
case 3:
redout("p");
break;
case 2:
redout("q");
break;
case 1:
redout("r");
break;
}

break;
case '7':
jack++;
case 's':
jack++;
case 't':
jack++;
case 'u':
jack++;
button_p(215,335,240,360,0,7,"7");
switch(jack)
{
case 4:
redout("7");
break;
case 3:
redout("s");
break;
case 2:
redout("t");
break;
case 1:
redout("u");
break;
}

break;
case '8':
jack++;
case 'v':
jack++;
case 'w':
jack++;
case 'x':
jack++;
button_p(280,335,310,360,0,7,"8");
switch(jack)
{
case 4:
redout("8");
break;
case 3:
redout("v");
break;
case 2:
redout("w");
break;
case 1:
redout("x");
break;
}

break;
case '9':
jack++;
case 'y':
jack++;
case 'z':
jack++;
button_p(350,335,380,360,0,7,"9");
switch(jack)
{
case 3:
redout("9");
break;
case 2:
redout("y");
break;
case 1:
redout("z");
break;
}

break;
}
break;
case 'p':
switch(cho)
{
case '1':
case 'a':
case 'b':
case 'c':
button_p(215,260,240,285,0,7,"1");
redout("*");
break;
case '2':
case 'd':
case 'e':
case 'f':
button_p(280,260,310,285,0,7,"2");
redout("*");
break;
case '3':
case 'g':
case 'h':
case 'i':
button_p(350,260,380,285,0,7,"3");
redout("*");
break;
case '4':
case 'j':
case 'k':
case 'l':
button_p(215,298,240,323,0,7,"4");
redout("*");
break;
case '5':
case 'm':
case 'n':
case 'o':
button_p(280,298,310,323,0,7,"5");
redout("*");
break;
case '6':
case 'p':
case 'q':
case 'r':
button_p(350,298,380,323,0,7,"6");
redout("*");
break;
case '7':
case 's':
case 't':
case 'u':
button_p(215,335,240,360,0,7,"7");
redout("*");
break;
case '8':
case 'v':
case 'w':
case 'x':
button_p(280,335,310,360,0,7,"8");
redout("*");
break;
case '9':
case 'y':
case 'z':
button_p(350,335,380,360,0,7,"9");
redout("*");
break;
}

}
return cho;
}
void dtrans(int *dtj,int *da);
int dint(int depost,char *type);
char take(int cho,char s);
void rcreate();
void login(int s);
int verify(char *user,long int pass);
void optionselector(int ac,int total,int &cur);
void cust();
void notvalid();
void uwannadepo();
void rcreate()
{
char su[20],sf[20],sn[40];
fstream x;
x.open("bank.dat",ios::app);
int k,n=0;
k=rand()%23;
strcpy(su,fname[k]);
k=rand()%22;
strcpy(sf,sname[k]);
for(int b=0;b<strlen(su);b++)
sn[n++]=su[b];
sn[n++]=' ';
for(b=0;b<strlen(sf);b++)
sn[n++]=sf[b];
strcpy(s.user,sn);
s.pass=rand()%899999+100000;
s.dtj[2]=rand()%8+1;
_dos_getdate(&d);
int da[3];
da[2]=d.year%10;
da[0]=d.day;
da[1]=d.month;
if(da[2]==s.dtj[2])
s.dtj[1]=rand()%(da[1]-1)+1;
switch(s.dtj[1])
{
 case '9':
 case '4':
 case '6':
 case '11':
 if(s.dtj[2]==da[2])
 s.dtj[0]=rand()%(da[0]-1)+1;
 else
 s.dtj[0]=rand()%29+1;
 break;
 case '1':
 case '3':
 case '5':
 case '7':
 case '8':
 case '10':
 case '12':
 if(s.dtj[2]==da[2])
 s.dtj[0]=rand()%(da[0]-1)+1;
 else
 s.dtj[0]=rand()%30+1;
 break;
 case '2':
 if(s.dtj[2]==da[2])
 s.dtj[0]=rand()%(da[0]-1)+1;
 else
 {
 if(s.dtj[2]%4==0)
 s.dtj[0]=rand()%28+1;
 else
 s.dtj[0]=rand()%27+1;
 }
}
s.deposit=rand()%1000000+1000;
char sav[2][10]={"Savings","Checking"};
strcpy(s.type,sav[rand()%1]);
dtrans(s.dtj,da);
x.write((char *)&s,sizeof(s));
x.close();
}
void dtrans(int *dtj,int *da)
{
int nom=0;
if(da[2]!=dtj[2])
nom+=(da[2]-1)-dtj[2];
if(da[1]!=dtj[2])
nom+=(da[2]-1)-dtj[2];
sprintf(s.trans[0],"created account with deposit %d",s.deposit);
int in;
for(int i=0;i<nom;i++)
{
in=dint(s.deposit,s.type);
sprintf(s.trans[i],"Interest added up by %d %",in);
}
}
int dint(int deposit,char *type)
{
if((strcmp(type,"Savings"))==0)
return 4;
if((strcmp(type,"Checking"))==0)
if(deposit<=6000)
return 5;
else
return 3;
}
int verify(char *user,long int pass)
{
ifstream x;
x.open("bank.dat");
int i=0;
while(x)
{
sc();
scro=0;
k=0;
if(i==0)
redout("\n\n\n\n           Processing");
else
if(i==1)
redout("\n\n\n\n           Processing..");
else
if(i==2)
redout("\n\n\n\n           Processing....");
else
if(i==3)
redout("\n\n\n\n           Processing......");
else
if(i==4)
redout("\n\n\n\n           Processing........");
else
if(i==5)
{redout("\n\n\n\n           Processing..........");
i=0;
}
if(strcmpi(s.user,user)==0)
{if(s.pass==pass)
return 2;
}
for(int ahem=0;ahem<2;ahem++)
if(strcmpi(s.user,auser[ahem])==0)
if(s.pass==apass[ahem])
{x.close();
return ahem;
}
x.read((char *)&s,sizeof(s));
i++;
}
return 3;
}
void login(int s)
{
switch(s)
{case 0:
case 1:
//redparam();
break;
case 2:
cust();
break;
case 3:
//notvalid();
break;
}
}
void cust()
{
int choice,cu=1;
sc();
scro=0;
k=0;
settextstyle(0,0,1);
setcolor(RED);
redout("Welcome The Following Actions are \nAvaiable For You Press ESC to exit");
delay(500);
setcolor(10);
redout("\n         1.Make a Deposit");
delay(100);
redout("\n         2.Make a Withdrawal");
delay(100);
redout("\n         3.Change Your Password");
delay(100);
redout("\n         4.View Transactions");
delay(100);
redout("\n         5.View Account Details");
optionselector(0,5,cu);
do
{
choice=getch();
if(choice==0)
{
choice=getch();
switch(choice)
{
case 72:
optionselector(-1,5,cu);
button_p(450,262,475,287,0,7,"À");
break;
case 80:
optionselector(1,5,cu);
button_p(450,335,475,360,0,7,"»");
break;
}
}
if(choice==13)
button_p(445,298,480,323,0,7,"ok");
else
if(choice==27)
button_p(485,262,510,287,0,7,"es");
}while(choice!=27&&choice!=13);
if(choice==13)
{switch(cu)
{
case 1:
sc();
redout("deposit");
break;
case 2:
sc();
redout("withdraw");
break;
case 3:
sc();
redout("pass");
break;
case 4:
sc();
redout("trans");
break;
case 5:
sc();
redout("info");
break;
}
}
}
void optionselector(int ac,int total,int &cur)
{
cur+=ac;
switch(cur)
{
case 0:
setcolor(BLUE);
rectangle(250,88,470,100);
delay(100);
setcolor(YELLOW);
rectangle(250,168,470,180);
cur=5;
break;
case 1:
if(ac==-1)
{
setcolor(BLUE);
rectangle(250,108,470,120);
}
setcolor(YELLOW);
rectangle(250,88,470,100);
break;
case 2:
if(ac==1)
{
setcolor(BLUE);
rectangle(250,88,470,100);
}
else
if(ac==-1)
{
setcolor(BLUE);
rectangle(250,128,470,140);
}
delay(100);
setcolor(YELLOW);
rectangle(250,108,470,120);
break;
case 3:
if(ac==1)
{
setcolor(BLUE);
rectangle(250,108,470,120);
}
else
if(ac==-1)
{
setcolor(BLUE);
rectangle(250,148,470,160);
}
delay(100);
setcolor(YELLOW);
rectangle(250,128,470,140);
break;
case 4:
if(ac==1)
{
setcolor(BLUE);
rectangle(250,128,470,140);
}
else
if(ac==-1)
{
setcolor(BLUE);
rectangle(250,168,470,180);
}
delay(100);
setcolor(YELLOW);
rectangle(250,148,470,160);
break;
case 5:
if(ac==1)
{
setcolor(BLUE);
rectangle(250,148,470,160);
}
delay(100);
setcolor(YELLOW);
rectangle(250,168,470,180);
break;
case 6:
setcolor(BLUE);
rectangle(250,168,470,180);
delay(100);
setcolor(YELLOW);
rectangle(250,88,470,100);
cur=1;
}
}
void uwannadepo()
{
sc();
k=0;
scro=0;
setcolor(5);
redout("           Deposit");
}
void main()
{
int driver,mode;
driver=DETECT;
mode=DETECT;
initgraph(&driver,&mode,"\\TC\\bgi" );
//main business baby 21/aug/2009 11:00:)hardworking me hahhahahahhhahahahaha
//welcome();
display();
/*settextstyle(0,0,1);
redout("             W e l c o m e  \n        To The A T M  Machine\n");
delay(100);
redout("Please enter your identification details");
delay(100);
settextstyle(2,0,3);
redout("(1=abc,2=def,3=ghi,4=jkl,5=mno,6=pqr,\n7=stu,8=vwx,9=yz)");
settextstyle(0,0,1);
delay(100);
redout("\n           Username:");
int cho;
char suser[20];
long int spass=0;
int si=0;
while((cho=getch())!=ENTER)
{
suser[si++]=take(cho,'u');
}
si=0;
redout("\n           Password:");
while((cho=getch())!=ENTER)
{
spass*=10;
spass+=(take(cho,'p'));
}
login(verify(suser,spass));
//exit();
*/
sc();
k=0;
scro=0;
setcolor(5);
redout("                                Deposit");
getch();
}

the problem is the keyboard text the that is below the text i u remove 5 lines and replace it with cust();
i program is shady and untidy plz help me:(

1
Contributor
1
Reply
3
Views
8 Years
Discussion Span
Last Post by redreed
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.