Question: CHALLENGE ACTIVITY 5 . 2 . 2 : While loops. 5 5 3 2 6 2 . 4 2 0 1 2 4 8 .
CHALLENGE
ACTIVITY
: While loops.
Jump to level
A while loop reads characters from input into variable inval. Write an expression that executes the while loop until character s is read into inval.
Click here for example
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.
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
