Ask a New Question

Question

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

Answers

Bot
1. START
2. Initialize a variable "sum" to 0
3. Start a loop from 1 to 100
4. Add each number from 1 to 100 to the "sum" variable
5. End the loop
6. Display the value of the "sum" variable
7. END
2 years ago

Related Questions

Write an algorithm to delete the fifth record in a master file of 50 records stored on magnetic tape... Write an algorithm that seems to make sense for dividing any whole number by a fraction write an algorithm for each of these two problems in pseudocode.(20 points each) Mrs. Smith is o... How to write an algorithm to find the fibonacci series ??? Help:/ How can I write the algorithm in pseudocode to solve this problem: There is 15 pupils in the intr... Write an algorithm and draw a flowchart a. TO FIND PROFIT Write an algorithm to add the number of 2345+1245? Write an algorithm and flow chat to print the first ten even numbers Write a structured algorithm to print 'Hello' on screen and then print your name on a separate line After you write the algorithm, write a few sentences reflecting on your experience: What was tricky...
Ask a New Question
Archives Contact Us Privacy Policy Terms of Use