Beginner problems with "While loops"

Im trying to change a small piece of code for school,:

[color=Red]value = 5;
for index = -1:3
value = value + index

And give it the equivalent "While loop" structure.
I have no clue how =/

Any help would be greatley appreciated!!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!