Beginner problems with "While loops" - Programmers Heaven

Howdy, Stranger!

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

Categories

Beginner problems with "While loops"

ghettobirdghettobird Posts: 2Member
Im trying to change a small piece of code for school,:

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

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

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