QuickBasic - Code help.
Posted: Tue Mar 01, 2016 9:47 pm
Hello people, i'm new here and i'd love some help with this
i've tried to do so but i ended up with this:
and here is my code:
Thank you!
i've tried to do so but i ended up with this:
and here is my code:
Code: Select all
CLS
INPUT "Enter pyramid lines:", x
NEW:
FOR spaces = 1 to x
PRINT " ";
NEXT spaces
PRINT "*"
x = x - 1
IF X <> 0 THEN GOTO NEW
END