Nov 22, 2009 at 11:38am
You need an other variable to keep the number of stars, initialize it with one and increment it by two each iteration
Nov 22, 2009 at 12:55pm
Add the spaces before the stars
Nov 22, 2009 at 1:46pm
So the problem was not in the spaces but in the counter witch counts the stars.
Weird :(]
Well, thanks bazzy, you helped me once again lol :D
EDIT: what does += does?
Last edited on Nov 22, 2009 at 1:47pm
Nov 22, 2009 at 1:53pm
x += y
is the same as x = x + y
Nov 22, 2009 at 1:58pm
now it get it, ty
OFFTOPIC: what is the function to generate a random number or a random letter?
something like:
int a = random(100);
so it would generate a random number between 0 and 100
Last edited on Nov 22, 2009 at 2:00pm