WSQ12

It is about founding the greatest common divisor. What I did first was wrong because you have to make sure that the give you the biggest number first, and whith the loop I did it was keeping throwing me zero….. here si my fist code

Captura de pantalla 2015-11-16 a la(s) 15.20.45

After doing the corrections and use de if conditionals this is how my code look like:

https://github.com/andresvaldi/TC1010/blob/master/wsq12

Leave a comment