4.2 lesson practice last one plzs help
The output of the program which involves the use of a while loop will be 5, 7, 9, and 11
The initial value of the variable, c = 3
The while loop ensures that program in the loop stops running or breaks once the value of c is greater than or equal to 10.
The first value which will be printed is ;
c = c + 2
c = 3 + 2 = 5
Since, the value of c is below 10 ;
c = c + 2
c = 5 + 2 = 7
Since, the value of c is below 10 ;
c = c + 2
c = 7 + 2 = 9
Since, the value of c is below 10 ;
c = c + 2
c = 9 + 2 = 11
The program breaks since the value of c is now greater than 10.
Therefore, the output are 5, 7, 9 and 11
Learn more :https://brainly.com/question/18253379