m2skills

gcdEuclid op

May 23rd, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1.  
  2. Enter the first number : 25
  3. Enter the second number : 26
  4. The gcd of 25 and 26 is : 1
  5.  
  6. Do you want to continue : 1
  7.  
  8. Enter the first number : 12
  9. Enter the second number : 16
  10. The gcd of 12 and 16 is : 4
  11.  
  12. Do you want to continue : 1
  13.  
  14. Enter the first number : 35
  15. Enter the second number : 70
  16. The gcd of 35 and 70 is : 35
  17.  
  18. Do you want to continue : 0
Add Comment
Please, Sign In to add comment