Ads

DORAEMON IN C LANGUAGE | DORAEMON DRAWING IN C PROGRMMING | LEARN C PROGRAMMING

 /*......... WELCOME ALL OF YOU ON COMPUTER SOFT SKILLS CHANNEL...........*/

//_____________________ C PROGRAM TO DRAW DORAEMON ____________________//


#include<stdio.h>

#include<conio.h>

#include<dos.h>

#include<graphics.h>

void main()

{

int gd=DETECT, gm, i;

initgraph(&gd,&gm,"c://tc//bgi");


rectangle(10,10,610,476);

rectangle(15,15,605,471);


for(i=0; i<30; i++)

{

setcolor(i);

arc(245,198,335,420,50);

arc(225,125,325,215,50);

arc(225,125,325,215,60);

arc(185,291,120,220,12);

arc(225,291,300,90,10);

arc(270,291,300,90,10);

arc(225,200,490,410,60);

arc(225,85,239,303,80);

arc(225,138,180,5,22);

ellipse(223,195,60,120,30,50);

arc(225,215,180,6,30);

arc(225,90,239,303,80);

arc(200,202,100,202,48);

circle(225,176,9);

circle(160,220,6);

circle(287,220,6);

circle(225,120,7);

circle(210,100,15);

circle(210,100,1);

circle(240,100,15);

circle(240,100,1);

line(180,240,180,280);

line(260,214,190,214);

line(268,280,178,280);

line(273,300,175,300);

line(225,280,225,260);

line(270,240,270,280);

line(245,135,200,135);

line(219,120,190,125);

line(219,120,190,130);

line(219,120,190,119);

line(233,120,260,124);

line(233,120,260,130);

line(233,120,260,118);

delay(300);


settextstyle(1,0,6);

outtextxy(285,150," DORAEMON ");

setcolor(14);

settextstyle(1,0,1);

outtextxy(200,400,"Created by :- ");

outtextxy(200,420,"COMPUTER SOFT SKILLS");

outtextxy(200,440,"(ROHIT)");

}


getch();

}


/*---------------- I HOPE YOU LIKE THIS PROGRAMMING ---------------------*/


/*____________ LIKE __________ SHARE _________ SUBSCRIBE _________________*/





Post a Comment

0 Comments