Friday

February 27, 2015

February 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 - How can the digits 1 through 5 be arranged in the box to make the greast ...

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

Computer Science - I need some help about Turing Machines, and prove by ...

Computer Science - What is the halting problem? What does it have to do with ...

Computer Science - The array represents a map with coins, and the integers ...

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

math - it is cross math (like sudouk) six rows across and six rows down 1st row ...

computers - i have a java problem. i'm trying to write the hunt the wumpus game ...

computers - I was wondering if someone could please help me thanks so much. My ...