Page 1 of 1

What is the value of x after this statement, assuming the initial value of x is 5?

Posted: Thu Jul 14, 2022 8:57 am
by answerhappygod
‘If x equals to one then x=x+2 else x=0’.
a) 1
b) 3
c) 0
d) 2