Quiz 6

Captura de pantalla 2016-04-07 a las 16.25.17Captura de pantalla 2016-04-07 a las 16.25.47

In this quiz, you needed to create a program which give you de Greatest Common Divisor between 2 numbers that you’ll provide.
This is possible using Euclid’s algorithm.

Just by following the Euclid’s algorithm, you can built the code and it really works.
But one of the thing that I add is, that if the numbers you give to the program are both zero, you will get an ERROR, because 0/0 it’s not defined. So they doesn’t have a GCD.

Here is my GitHub link to my code.

Good luck, and see you around.

CC BY-SA 4.0 Quiz 6 by antonioangelm is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.