stuck on computing homework !
Stuck on computing homework ? Help please!!
okay well the question is " write two nested loops to print a pattern if stars on 12 lines of the screen. there should be one star on the first line, two stars on the second line, ... and so on until there are 12 stars on the 12th line. "
there is also a little diagram of what it should look like .
*
**
***
****
*****
******
*******
********
*********
**********
***********
************
we use truebasics :) and I have tried to complete this task but its hard and I can't do it , here's what I've got so far.
FOR down = 1 to 12
LET across =0
DO
LET across = across +1
PRINT "*";
LOOP until across = down
DO WHILE across <12
PRINT "*";
LET across = across +12
LOOP
PRINT
NEXT down
END
which is probably ALL wrong but help please! Someone must be an expert at programming :) thanks xxxx