*/FLAG DESIGN BY GRAPHICS IN C/*
This is very easy coding for design flag by programming c. You can use it very easily. If you want to use this code self copy it and paste it turboo C soft. If you want to change this flag only change the color name and write there the color name that you choose and then Run it then you will see your wanted flag.
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void main()
{
int driver,mode;
driver=DETECT;
mode=0;
initgraph(&driver,&mode,"c://tc//bgi");
setcolor(GREEN);
rectangle(40,80,600,400);
setfillstyle(1,2);
floodfill(320,240,GREEN);
setcolor(RED);
circle(300,200,100);
setfillstyle(1,2);
floodfill(320,240,RED);
getch();
}
And this output this graphics
This is very easy coding for design flag by programming c. You can use it very easily. If you want to use this code self copy it and paste it turboo C soft. If you want to change this flag only change the color name and write there the color name that you choose and then Run it then you will see your wanted flag.
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void main()
{
int driver,mode;
driver=DETECT;
mode=0;
initgraph(&driver,&mode,"c://tc//bgi");
setcolor(GREEN);
rectangle(40,80,600,400);
setfillstyle(1,2);
floodfill(320,240,GREEN);
setcolor(RED);
circle(300,200,100);
setfillstyle(1,2);
floodfill(320,240,RED);
getch();
}
And this output this graphics
.
No comments:
Post a Comment
Thank you for visit this site. You will get many programming news from here and learn programming very easily.