For Loop




Examples:
1) Program to print Even Numbers:
2) Program to find the sum of natural numbers from 1 to 1000.
Nested For Loop:

Example 1: Program to create a pattern
Example 2: Program to create a pattern
Example 3: Program to create a pattern
Problems:
1) WAP to print Odd Numbers.
2) WAP to draw the below patterm.
3) WAP to draw the below pattern.
4) WAP to draw the below pattern.
Last updated