Use a while loop to print out all the numbers from 100 to 70 in descending order skipping every second number.
OUTPUT
100
98
96
.
.
.
.
70
Structure of a While Loop
while (condition) {
// statements
}
Use a while loop to print out all the numbers from 100 to 70 in descending order skipping every second number.
OUTPUT
100
98
96
.
.
.
.
70
Structure of a While Loop
while (condition) {
// statements
}