Question 5
NATHard
Question and response
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?
What this question tests
Syllabus topics
Analytical and Logical Reasoning