How to Write PseudoCode to Find Sum of Natural Numbers (1-100)

**PseudoCode:**

1 2 3 4 5 6 7 8 9 10 11 12 |
BEGIN NUMBER counter, sum=0 FOR counter=1 TO 100 STEP 1 DO sum=sum+counter ENDFOR OUTPUT sum END |

How to Write PseudoCode to Find Sum of Natural Numbers (1-100)

**PseudoCode:**

1 2 3 4 5 6 7 8 9 10 11 12 |
BEGIN NUMBER counter, sum=0 FOR counter=1 TO 100 STEP 1 DO sum=sum+counter ENDFOR OUTPUT sum END |

%d bloggers like this: