Friday

March 27, 2015

March 27, 2015

Posted by **Lena** on Monday, April 7, 2008 at 10:09pm.

for row: 3..10

for column: 10..30

locate (row,column)

put " "..

end for

I think this creates a box. How would I move this box across the screen by only using randint and delay?

- Computer Science -
**Leo**, Monday, April 7, 2008 at 10:52pmYou would need to create two variables, one for row and one for column. Each variable would be assigned a random integer within the range that you listed above.

- Computer Science -
**Lena**, Monday, April 7, 2008 at 10:56pmhow would you write that?

(I don`t have the program with me)

- Computer Science -
**Lena**, Monday, April 7, 2008 at 11:04pmvar row,column: int

randint (row,3,10)

randint (column,10,30)

locate (row,column)

put " "..

??

i`m actually very new at this so i`m very confused

- Computer Science -
**Leo**, Tuesday, April 8, 2008 at 11:53amI am not familiar with the exact syntax of the language you are using. But in pseudo code, it appears you have the right idea.

- Computer Science -

- Computer Science -

**Answer this Question**

**Related Questions**

Algebra II-Please check calcs - Could someone check this matrix calculation The ...

MATH - The squares of an infinite chessboard are numbered as follows: in the ...

math - 6. The squares of an infinite chessboard are numbered as follows: in the ...

Java programming - can anybody help me.. Multidimensional Array Use a two-...

math - if you have 3 rows and three columns and you have to find the hidden ...

math - How can the digits 1 through 5 be arranged in the box to make the greast ...

Math - I have to do a 4x4 magic square with the digits 2011 so that each row ...

English Expression - There is a time table for the students. This activity is to...

algebra - When i have a matrix 4 X 4 and i have to multiply it by a 4 X 3 i know...

computer science - to find all individuals whose name is Tom or tim, enter______...