Question: A while loop reads floating - point numbers from input into variable input _ val. Write an expression that executes the while loop until input

A while loop reads floating-point numbers from input into variable input_val. Write an expression that executes the while loop until input_val is greater than or equal to 10.0.
Click here for example
Ex: If the input is:
-42.3
3.9
47.9
then the output is:
User entered -42.3
User entered 3.9
Done
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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!