HOLI.C

Electronics For You - - Section -

} COLORS”);

} lineto(50,100); moveto(500,300); lineto(500,200); clrscr(); for(s=0;s<10;s++) { for(l=1;l<=4;l++) { set­color(red); clearde­vice(); set­textstyle(s,horiz_dir,l); set­linestyle(0,0,1);

out­tex­txy(30,300,”happy de­lay(300); set­linestyle(0,0,1); } set­color(red); arc(x/2,y/2,180,175,50); // moveto(370,239); // lineto(270,239); for(f=12;f<=14;f++) { set­color(blue); de­lay(500);

// set­color(green); fil­lel­lipse(x/2.1,y/2,10,10); set­color(red); fil­lel­lipse(x/1.9,y/2,10,10);

// rec­tan­gle(x/2.3,y/2,1,2); } de­lay(300); set­color(red); arc(x/4,y/2,180,175,50); // moveto(210,239); // lineto(110,239); for(f=12;f<=14;f++) { set­color(green); de­lay(500); fil­lel­lipse(x/3.7,y/2,5,20); set­color(f); fil­lel­lipse(x/4.2,y/2,5,20); // set­color(red);

// set­linestyle(1,0,1); out­tex­txy(0,0,” FES­TI­VAL OF de­lay(500); clearde­vice();

for(g=0;g<10;g++)

Newspapers in English

Newspapers from India

© PressReader. All rights reserved.