Home   Easy-Code    Forum  Updater 
Twitter Facebook



Globe using c graphics

Critics Rating:

Users Rating:

#include <graphics.h>

#include <stdio.h>

main()

{

int gd,gm,i;

clrscr();

detectgraph(&gd,&gm);

initgraph(&gd,&gm,"");

for(i=5;i<=175;i+=2)

ellipse(320,200,0,360,100,i);

for(i=5;i<=157;i+=2)

ellipse(320,200,0,360,i,100);

getch();

}

Courtesy, Source, References & Regards: Kishore AVGK

While using this site, you agree to have read and accepted our terms of use and privacy policy.
Copyright@2009-2011 by KuGuNi.com. All Rights Reserved.