Discover a world of knowledge at Westonci.ca, where experts and enthusiasts come together to answer your questions. Get immediate and reliable solutions to your questions from a community of experienced experts on our Q&A platform. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform.

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:

Thank you for choosing our service. We're dedicated to providing the best answers for all your questions. Visit us again. Thank you for your visit. We're dedicated to helping you find the information you need, whenever you need it. Thank you for trusting Westonci.ca. Don't forget to revisit us for more accurate and insightful answers.