Question
HOW TO WRITE pseudocode
TO add the number 1 to 100 and display the sum
TO add the number 1 to 100 and display the sum
Answers
START
SET sum to 0
FOR i from 1 to 100 DO
SET sum to sum + i
END FOR
DISPLAY sum
END
SET sum to 0
FOR i from 1 to 100 DO
SET sum to sum + i
END FOR
DISPLAY sum
END
Related Questions
Write a pseudocode and algorithm that to else the user to input 10 numbers in program we display the...
HOW TO write algorithm and pseudocode
TO add the number 1 to 100 and display the sum
how to write algorithm and pseudocode and how to draw flowchart add the number from 1 to 100 and dis...
how to write pseudocode add the number from 1 to 100 and display the sum