LOOP STATEMENT

While loop

The Number is : 1
The Number is : 2
The Number is : 3
The Number is : 4
The Number is : 5
The Number is : 6
The Number is : 7
The Number is : 8
The Number is : 9
The Number is : 10

Do While loop

The Number is : 6

For loop

The Number is : 0
The Number is : 10
The Number is : 20
The Number is : 30
The Number is : 40
The Number is : 50
The Number is : 60
The Number is : 70
The Number is : 80
The Number is : 90
The Number is : 100

Print Number In a row

1 2 3 4 5 6 7 8 9

Print Number In a column


1
2
3
4
5
6
7
8
9

Print Number In a square structure in column & row

1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9

Print Number In a Trangle structure : type 4

1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
1 2 3 4 5 6
1 2 3 4 5 6 7
1 2 3 4 5 6 7 8
1 2 3 4 5 6 7 8 9

Print Number In a Trangle structure : type 5

1
2 1
3 2 1
4 3 2 1
5 4 3 2 1
6 5 4 3 2 1
7 6 5 4 3 2 1
8 7 6 5 4 3 2 1
9 8 7 6 5 4 3 2 1

Print Number In a Trangle structure : type 6

1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8
1 2 3 4 5 6 7
1 2 3 4 5 6
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1

Print Number In a Trangle structure : type 7

9 8 7 6 5 4 3 2 1
8 7 6 5 4 3 2 1
7 6 5 4 3 2 1
6 5 4 3 2 1
5 4 3 2 1
4 3 2 1
3 2 1
2 1
1

Print Number In a Trangle structure : type 8

_ _ _ _ _ _ _ _ 9
_ _ _ _ _ _ _ 8 9
_ _ _ _ _ _ 7 8 9
_ _ _ _ _ 6 7 8 9
_ _ _ _ 5 6 7 8 9
_ _ _ 4 5 6 7 8 9
_ _ 3 4 5 6 7 8 9
_ 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9

Print Number In a Trangle structure : type 9

_ _ _ _ _ _ _ _ 1
_ _ _ _ _ _ _ 2 1
_ _ _ _ _ _ 3 2 1
_ _ _ _ _ 4 3 2 1
_ _ _ _ 5 4 3 2 1
_ _ _ 6 5 4 3 2 1
_ _ 7 6 5 4 3 2 1
_ 8 7 6 5 4 3 2 1
9 8 7 6 5 4 3 2 1

Print Number In a Trangle structure : type 10

_ _ _ _ _ _ _ _ 1
_ _ _ _ _ _ _ 1 2
_ _ _ _ _ _ 1 2 3
_ _ _ _ _ 1 2 3 4
_ _ _ _ 1 2 3 4 5
_ _ _ 1 2 3 4 5 6
_ _ 1 2 3 4 5 6 7
_ 1 2 3 4 5 6 7 8
1 2 3 4 5 6 7 8 9

Print Number In a Trangle structure : type 11

9 8 7 6 5 4 3 2 1
_ 8 7 6 5 4 3 2 1
_ _ 7 6 5 4 3 2 1
_ _ _ 6 5 4 3 2 1
_ _ _ _ 5 4 3 2 1
_ _ _ _ _ 4 3 2 1
_ _ _ _ _ _ 3 2 1
_ _ _ _ _ _ _ 2 1
_ _ _ _ _ _ _ _ 1

Print Number In a Trangle structure : type 12

1 2 3 4 5 6 7 8 9
_ 2 3 4 5 6 7 8 9
_ _ 3 4 5 6 7 8 9
_ _ _ 4 5 6 7 8 9
_ _ _ _ 5 6 7 8 9
_ _ _ _ _ 6 7 8 9
_ _ _ _ _ _ 7 8 9
_ _ _ _ _ _ _ 8 9
_ _ _ _ _ _ _ _ 9

Print Number In a Trangle structure : type 13

1 2 3 4 5 6 7 8 9
_ 1 2 3 4 5 6 7 8
_ _ 1 2 3 4 5 6 7
_ _ _ 1 2 3 4 5 6
_ _ _ _ 1 2 3 4 5
_ _ _ _ _ 1 2 3 4
_ _ _ _ _ _ 1 2 3
_ _ _ _ _ _ _ 1 2
_ _ _ _ _ _ _ _ 1

Print Number In a Trangle structure : type 14

_ _ _ _ _ _ _ _ 1
_ _ _ _ _ _ _ 1 2 1
_ _ _ _ _ _ 1 2 3 2 1
_ _ _ _ _ 1 2 3 4 3 2 1
_ _ _ _ 1 2 3 4 5 4 3 2 1
_ _ _ 1 2 3 4 5 6 5 4 3 2 1
_ _ 1 2 3 4 5 6 7 6 5 4 3 2 1
_ 1 2 3 4 5 6 7 8 7 6 5 4 3 2 1
1 2 3 4 5 6 7 8 9 8 7 6 5 4 3 2 1

Print Number In a Trangle structure : type 15

1 2 3 4 5 6 7 8 9 8 7 6 5 4 3 2 1
_ 1 2 3 4 5 6 7 8 7 6 5 4 3 2 1
_ _ 1 2 3 4 5 6 7 6 5 4 3 2 1
_ _ _ 1 2 3 4 5 6 5 4 3 2 1
_ _ _ _ 1 2 3 4 5 4 3 2 1
_ _ _ _ _ 1 2 3 4 3 2 1
_ _ _ _ _ _ 1 2 3 2 1
_ _ _ _ _ _ _ 1 2 1
_ _ _ _ _ _ _ _ 1

Revarse Number Print

Original Number is 8972690250 After reverse is 0520962798

Count Number

90611435 this number is a 8 digit

Revarse Number Print

Original Number is 8972690250 After reverse is 0520962798