Smiling Face

  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Smiling Face as PDF for free.

More details

  • Words: 47
  • Pages: 1
//=========================== // SMILING FACE //=========================== #include #include void main() { int driver=DETECT,mode; initgraph(&driver,&mode,"c:\\tc\\bgi"); //to initialise graphics system int x=150,y=150,r=50; setbkcolor(15); setcolor(1); setfillstyle(1,6); circle(x,y,r); floodfill(x-2,y-2,1); setfillstyle(1,15); ellipse(x-20,y-20,0,360,10,5); ellipse(x+20,y-20,0,360,10,5); floodfill(x+20,y-20,1); floodfill(x-20,y-20,1); setcolor(14); setfillstyle(1,14); line(x,y,x-10,y+10); line(x,y,x+10,y+10); line(x-10,y+10,x+10,y+10); floodfill(x,y+2,14); setcolor(1); arc(x,y,225,315,30); setfillstyle(1,8); circle(x-20,y-20,5); floodfill(x-20,y-20,1); circle(x+20,y-20,5); floodfill(x+20,y-20,1); outtextxy(x-50,y+70,"KEEP SMILING"); getch(); closegraph(); }

Related Documents

Smiling Face
May 2020 5
Smiling
October 2019 8
Smiling
April 2020 9
Smiling-cone
October 2019 24
Face
May 2020 25
Face
November 2019 39