Draw a smiley face using Graphics in C language

C Graphics Program For Smiley Face

#include<graphics.h>

#include<conio.h>

void main(){

int gd=DETECT , gm;

initgraph(&gd,&gm, “C:\\TURBOC3\\BGI”);

circle(300,220,150); // Face

circle(230,158,30); // eye

circle(370,158,30); // eye

arc(300,200,200,340,100);

arc(300,200,201,340,105);

outtextxy(120,400, ” By Md Sameer Hussain”):

getch();

closegraph();

}

Draw a smiley face using Graphics in C language

https://youtu.be/KTMWVTAeRws
Flipkart Coupons and Offers Mar 2021 Flat 70% Today Promo Codes

Happy Holi Wish C Graphics Program

Related Post

Leave a Reply

Your email address will not be published. Required fields are marked *