Discover the answers to your questions at Westonci.ca, where experts share their knowledge and insights with you. Get immediate and reliable solutions to your questions from a knowledgeable community of professionals on our platform. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

write an algorithm to calculate the sum of integer ​

Sagot :

ANP01

Answer:

Step 1:Start

Step 2: declare a variable and initialize with ‘0’ to store the sum of the number.

Step 3: take input for the number of numbers to be calculated sum of.

Step 4: Loop through the given range and accept inputs or generate numbers.

Step 5: add the current number according to the loop with the present value of the variable declared in (step 3) and store in the same variable

Step 6: print the value of the variable declared in (step 3) with relevant message.

Step 7: Stop

Explanation: