Loop Exercise
Here is an exercise to practice loops:

Write a program which lets you enter the price of several articles. The user will enter a price of zero to indicate that there are no more articles to be added. Once all the articles have been entered, the program must display the total price of all the articles.

Our Answer