#include <conio2.h>
#include <stdlib.h>

/* Nao esquecer de acrescentar -lconio 
   as opcoes de compilacao/linha de comando do linker
*/

main()
{
      int x,y;
      textbackground(BLUE);
      clrscr();
      gotoxy(20,15);
      textcolor(YELLOW);
      cprintf("Hello World!!");
      for(x=40;x<80; x++)
        for(y=5; y<20; y++)
        {
                 gotoxy(x,y);
                 if( (x-60)*(x-60)+(y-12)*(y-12)*3 < 80 ) textcolor(LIGHTCYAN);
                 else if( abs(x-60)+abs(y-12)*3 < 20 ) textcolor(YELLOW);
                 else textcolor(GREEN);
                 cprintf("*");
        }
      getch();
}
