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<\/p>\n
<\/p>\n
After doing the corrections and use de if conditionals this is how my code look like:<\/p>\n
https:\/\/github.com\/andresvaldi\/TC1010\/blob\/master\/wsq12<\/a><\/p>\n <\/a> <\/p>\n","protected":false},"excerpt":{"rendered":" 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 After doing the corrections and use de if conditionals this… Read More WSQ12<\/span><\/a><\/p>\n","protected":false},"author":205,"featured_media":26302,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[206,356,46],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/26303"}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/users\/205"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/comments?post=26303"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/26303\/revisions"}],"predecessor-version":[{"id":26304,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/26303\/revisions\/26304"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media\/26302"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=26303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=26303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=26303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}