While loop
How while loop works?

Syntax:


Example 1: Program to print line 8 times
Example 2: Program to find the sum of natural numbers from 1 to 100.
Problems:
Last updated