Program to draw a star (six-sided) using DRAW statement (GW-BASIC)

Program to draw a star (six-sided)

-Program:

10     REM Program to draw six-sided star using DRAW statement at GW-BASIC
20     CLS
30     SCREEN 2
40     DRAW “E60 F60 L120 BU40 R120 G60 H60”
50     END

Using the GW-BASIC emulator, I’ve created the following program:

Make Star using GW-BASIC

Make Star using GW-BASIC

-Output:

Output

Output


“My posts/articles/images are not allowed to be stolen/copied anywhere at Cyber space. Doing so will allow me to take a legal action against the copier.”

Related Posts

M.Bakhtiar Zuberi
I'm M.Bakhtiar Zuberi, the owner of 3DPixelz.com and its network websites. I've been web-developing & graphics-designing for the past 7 years, since the age of 11. I like to work with PHP/HTML and Photoshop/Illustrator. Part-time developer of ZCL (crypto-currency) and ETC. I love to blog here and write for Tribune in my free time.

4 Comments

  1. Uvy says:

    Thanks for such nice instructions! I finally know how to make it! 🙂

  2. Uvy says:

    BTW, can you make a program to draw 5 sided star as well?

  3. Abdullah Naveed says:

    Very helpful but I dont understand use of BU can u help me Thank You in advance

Leave a Comment

Kindly solve the following puzzle to prove that you\'re not a bot: