Math, asked by yukta85, 7 months ago

7. Pseudo Code
Pseudocode for the Mystery Algorithm
1. Input two integers: a, b.
2. Initialize the value of x to a and the value of y to b.
3. If x>y then set x to x-y.
4. If x<y then set y to y-x.
5. Repeat steps 3 and 4 until x=y.
6. Output x (or y) and halt.
What will this algorithm output in step 6 if we begin with a = 2437 b = 375
Pick ONE option​

Answers

Answered by HarshalMaru
4

Answer:

The output at 6 will be 1 if a = 2437 and b = 375

Answered by bitbotzio
0

Answer:

Step-by-step explanation: 1

Similar questions