Difficulty: Medium
Average Score: 60%

What does the following algorithm determine?
if x < 0
a -1
elseif x == 0
a = 2
else
a = 3

Report an Issue

Help us improve by flagging this content.

Rate this Practice Test

How helpful was this material?

Chat on WhatsApp