Question:

Perform the following steps:
Step 1: Start with x=1, y=2
Step 2: Replace x by x multiplied by y
Step 3: Replace y by y+1
Step 4: If y=5, then go to Step 6, otherwise go to Step 5
Step 5: Go to Step 2
Step 6: Stop What is the value of x?

Updated On: Dec 13, 2024
Hide Solution
collegedunia
Verified By Collegedunia

Correct Answer: 24

Solution and Explanation

The correct answer is : 24
Was this answer helpful?
1
0

Top Questions on Mathematics

View More Questions