Home / Report Question

Q. What is the value of x after this statement, assuming the initial value of x is 5? ‘If x equals to one then x=x+2 else x=0’.
  • A. 1
  • B. 3
  • C. 0
  • D. 2