Question: Consider the following pseudocode. ( The i should be lower case.) .. The input values for x are 1.0, 5.1, 2.4, 7.2, and 5.3. What
Consider the following pseudocode. ( The i should be lower case.) .. The input values for x are 1.0, 5.1, 2.4, 7.2, and 5.3. What are the output values?
repeat
I = 1
read a value for x
if ((x < 5.0) and (2x < 10.7)) or (Sqrt(5x) > 5.1) then
write the value of x
end if
increase I by 1
until I > 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
