Turing character graphics
Author |
Message |
konrbear
|
Posted: Wed Mar 19, 2014 11:39 pm Post subject: Turing character graphics |
|
|
What is it you are trying to achieve?
for i: 0..4
for j: 1..5
put "*" ..
put " "..
end for
put ""
end for
What is the problem you are having?
I need the * to look like this.
*
* *
* * *
* * * *
* * * * *
Describe what you have tried to solve this problem
I've tried opposite the code and changing the color to (31/white) but not sure. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Raknarg
|
Posted: Thu Mar 20, 2014 12:07 am Post subject: RE:Turing character graphics |
|
|
Try thinking about how to structure your for loops first. You have to have a loop for each row. Each row needs to run between 1 to 5 times. Somehow in total you need to have it print a star 15 times.
Look at your code right now. It runs 25 times. You need it to run only 15 times, and each step runs 1 more time than the last |
|
|
|
|
|
konrbear
|
Posted: Thu Mar 20, 2014 2:22 pm Post subject: RE:Turing character graphics |
|
|
I figured it out. Thanks! |
|
|
|
|
|
|
|