Count-condition loops

A lot of programming work involves doing something a certain number of times. There are usually multple ways of doing this, but I suggest you use a loop with a built in counter if your language supports it.


In this exercise you need to write a program adds up all numbers between 1 and 66. The final result should be printed to the screen.

Language: Any
Difficulty level: Very easy.
Estimated time: 5-10 minutes


This entry was posted in Basic control flow. Bookmark the permalink.
Back to Top ↑