Simple Loops – Problems
The fourth problem of the "Programming Basics" Practical Exam includes a single loop with simple logic in it. Participants in the exam should know how to work with simple for-loops and how to implement simple program logic with loops, how to read and process a sequence of numbers from the console and how to performs calculations and checks.
Let's solve a few sample problems with simple loops: