Question 3

· unclassifiedP · Verified PYQ

What is the output of the following code? Set integer _no1=0, _no2=1, _no3=1, _lower=6, _inc=1 while _inc is less than equals to _lower: _inc is increment by 1 Print _no3 _no3=_no1+_no2 _no1 equals to _no2 _no2 equals to _no3 End While

  • A. 1 2 3 5 8
  • B. 3 5 8
  • C. 1 1 2 3 5 8
  • D. 2 3 5 8

Answer: Option c

← Question 3Question 4 →
Report an issue with this question