Home Modern › Forums › ISRO ›
Consider the following pseudocode:
x:=1;i:=1;while (x ≤ 500)beginx:=2x ;i:=i+1;end
What is the value of i at the end of the pseudocode?
(A) 4
(B) 5
(C) 6
(D) 7
› Reply To:
Consider the following pseudocode:
x:=1;i:=1;while (x ≤ 500)beginx:=2x ;i:=i+1;end
What is the value of i at the end of the pseudocode?
(A) 4
(B) 5
(C) 6
(D) 7
nan