Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MugilanGN authored Apr 27, 2019
1 parent 6d447f0 commit ee96e5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ In every pseudocode program, there must be a **STOP** statmement at the very end

ENDIF - ends and if statement

###For statements
### For statements

FOR i = x TO y - i is the variable being incremented. x is the starting value, and y is the end value. As python code it would look like for i in range(x,y)

NEXT - Ends the for statement just like how ENDIF ends an if statement. Anything after this is outside the FOR statement block

###While statements
### While statements

WHILE condition DO - A while loop is started where everything following the statement till the ENDWHILE is within the WHILE block
Condition is just another condition like x>6

ENDWHILE - Closes the WHILE loop

###REPEAT statements
### REPEAT statements

0 comments on commit ee96e5b

Please sign in to comment.