170k views
1 vote
What is the output of the code below?

nums = [34, 27, 13, 2, 17]

x = nums[1]

FOR EACH num IN nums

{

IF num < x

{

x = num

}

}

DISPLAY( x )

a. 13
b. 2
c. 34
d. 27

User Sibbo
by
4.5k points

1 Answer

2 votes

Answer:

34.......................?.

User Trzczy
by
4.7k points