Complete the while loop so that the initial value of the variable i is 1, the loop ends when i reaches the value 11, and in each loop the value of i is to increase by 2. Print all values of the variable i to the screen, separating them with spaces.
Complete the while loop so that the initial value of the variable i is 1, the loop ends when i reaches the value 11, and in each loop the value of i is to increase by 2. Print all values of the variable i to the screen, separating them with spaces.
Register to vote on and add code examples. Join our developer community to improve your dev skills and code like a boss!
No Good?
Help us improve our code examples by registering to vote on and add answers. Join our developer community to improve your dev skills and code like a boss!