START
SET sum to 0
FOR i from 1 to 100 DO
SET sum to sum + i
END FOR
DISPLAY sum
END
HOW TO WRITE pseudocode
TO add the number 1 to 100 and display the sum
1 answer
TO add the number 1 to 100 and display the sum
1 answer