Chapter 6: Loops (Repetition)
- Introduction to Loops:
- Looping constructs: For loops, While loops, and Do-While loops.
- For Loops in RAPTOR:
Example: Displaying numbers from 1 to 10. - While Loops in RAPTOR:
Example: Summing numbers until a sentinel value is entered. - Using Loops for Repetition:
Creating a program that calculates the factorial of a number using a loop. - Nested Loops:
An example of printing a multiplication table using nested loops.