You have the following code:
You need to retrieve all of the numbers from the items variable that are greater than 80.
Which code should you use?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
You have the following code:
You need to retrieve all of the numbers from the items variable that are greater than 80.
Which code should you use?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
A
D is correct too imho.
The question states:”retrieve ALL of the numbers from the items…”. Any ‘ll only check if at least one value is above 80 and just return true or false