Ask a New Question

Question

HOW TO WRITE pseudocode
TO add the number 1 to 100 and display the sum
2 years ago

Answers

START
SET sum to 0
FOR i from 1 to 100 DO
SET sum to sum + i
END FOR
DISPLAY sum
END
2 years ago

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
Ask a New Question
Archives Contact Us Privacy Policy Terms of Use