Question: Consider the following pseudocode. 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
Consider the following pseudocode.

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 (5x>5.1) then write the value of x end if increase i by 1 until i > 5
Step by Step Solution
3.45 Rating (148 Votes )
There are 3 Steps involved in it
Based on the provided pseudocode you need to check if the given input values for x satisfy the condition specified within the if statement If the cond... View full answer
Get step-by-step solutions from verified subject matter experts
