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.