1. Given the following programming code: public boolean x(int a, int b) { boolean c = true; while(a>1 && b>1) { if(a>b) a-=b; else b-=a; } if(a ==1 || b == 1) c = false; return c; } (a) What will be the output of the above program code for, (i) x (28, 29) (ii) x (27, 39) (b) What is the above method calculating? (Answer should be in one line)
Answers
Answered by
0
Answer:
ohhh what is this i dont understand
Answered by
0
Answer:
I don't know if you have any questions
Similar questions