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
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 = 875
Answers
Answered by
1
Answer:
sorry
Step-by-step explanation:
I can't do this
but you can do something for me please make me braneleist
Similar questions
Computer Science,
3 months ago
Computer Science,
3 months ago
Physics,
3 months ago
Physics,
6 months ago
Math,
11 months ago
Chemistry,
11 months ago
Math,
11 months ago