Question:

Help me please. I'm desperate?

by  |  earlier

0 LIKES UnLike

need to make an algorithm that makes a square spiral that looks like this http://home-and-garden.webshots.com/phot...

except it needs to have 25 lines.

The instructions say that I just need to make a minor trivial tweak to this formula:

1.program square;

2.Var length: integer;

3.var count: integer'

4.begin

5.for count:=1 to 4 do

6.begin

7.length:=100;

8.forward(lenght);

9.left(90);

10.end

11.end.

But I don't know what it is! I've been trying for hours trying to work this thing out.

Does anyone know how to do this using the program thing above

 Tags:

   Report

1 ANSWERS


  1. ???sorry???

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.