Comprehension Passage

A numerical machine accepts two values X and Y.

Then it updates these values as

X = 2XY and Y = Y + 1 in every step.

The machine stops at X > N.

If X = 2, Y = 3 and N = 500, what would be the value of X when the value of Y is 6?

1
780
2
860
3
960
4
840

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation