Question: A while loop reads integers from input into variable in _ val. Write an expression that executes the while loop until integer - 1 is
A while loop reads integers from input into variable inval. Write an expression that executes the while loop until integer is read
into inval.
Note:
First, delete the comment Your code goes here Then, insert your expression for the while loop condition.
Your expression should describe when the loop should iterate, not when the loop should terminate.
inval intinput
whle Your code goes here :
printfValue is inval
inval intinput
printDone
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
