Classroom Activity

**Title:** Loop (Repetition) Control Structure

**Instructions:** Design algorithms for the problems that may contain loop control structures.

1. Design an algorithm that gets a natural value, [tex]\( n \)[/tex], as its input and calculates odd numbers equal to or less than [tex]\( n \)[/tex]. Then write them in the standard output.

2. Design an algorithm that generates even numbers between 1000 and 2000 and then prints them in the standard output. It should also print the total sum.

3. Design an algorithm with a natural number, [tex]\( n \)[/tex], as its input which calculates the following formula and writes the result in the standard output:
[tex]\[ S = \frac{1}{2} + \frac{1}{2} + \ldots + \frac{1}{n} \][/tex] give the answer