I could write the code with the help of this video and page, it wasn’t so difficult…

And here it is my code!

https://github.com/Andreandc/TC1017/blob/master/WSQ12

CC BY 4.0 WSQ12 – Greatest Common Divisor by Andrea Ac is licensed under a Creative Commons Attribution 4.0 International License.