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

Program to draw a star (six-sided)

[xyz-ihs snippet=”Google-Adsense”]

-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

[xyz-ihs snippet=”200-x-90″]

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

[xyz-ihs snippet=”200-x-90″]

Make Star using GW-BASIC

Make Star using GW-BASIC

-Output:

Output

Output

[xyz-ihs snippet=”200-x-90″]


“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

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: