Question: Write a do...while loop and program statements in C , which compute the sum of integer numbers from 1 to 100 (inclusive) and displays this

Write a do...while loop and program statements in C, which compute the sum of integer numbers from 1 to 100 (inclusive) and displays this computed sum. The sum should only be displayed after the loop terminates and the program should not display the sum within the loop. (Hint: The sum of integer numbers from 1 to 100 is 5050).

Thank you for your help in advanced!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!