Question 43

Assume A and B are non-zero positive integers. The following code segment
while (A != B){
if (A > B)
A -= B ;
else
B -= A ;
}
count <<A; //printing the volume of A


Create a FREE account and get:

  • Download Maths Shortcuts PDF
  • Get 300+ previous papers with solutions PDF
  • 500+ Online Tests for Free

cracku

Boost your Prep!

Download App