{"id":38949,"date":"2016-11-07T18:31:15","date_gmt":"2016-11-08T00:31:15","guid":{"rendered":"http:\/\/angelmendozas.wordpress.com\/?p=196"},"modified":"2016-11-07T18:31:15","modified_gmt":"2016-11-08T00:31:15","slug":"when-to-use-what-type-of-repetition-in-a-program-4","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/when-to-use-what-type-of-repetition-in-a-program-4\/","title":{"rendered":"When to use what type of repetition in a program"},"content":{"rendered":"<p class=\"syndicated-attribution\"><em> --Originally published at <a href=\"https:\/\/angelmendozas.wordpress.com\/2016\/11\/08\/when-to-use-what-type-of-repetition-in-a-program\/\"><a href=\"https:\/\/angelmendozas.wordpress.com\">angelmendozas<\/a><\/a><\/em><br \/><\/p>\n<p>Depends on the program you are writing, the if loop does or stops the desired task until what you programmed tells the program to do so.<\/p>\n<p>While loop does a task as long as something happens to do that task, after that it stops.<\/p>\n<p>A for loop can be combined with while but for a desired value the program does something.<\/p><br \/>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/angelmendozas.wordpress.com\/196\/\"><img alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/comments\/angelmendozas.wordpress.com\/196\/\" \/><\/a> <img alt=\"\" border=\"0\" src=\"https:\/\/pixel.wp.com\/b.gif?host=angelmendozas.wordpress.com&#038;blog=105404537&%23038;post=196&%23038;subd=angelmendozas&%23038;ref=&%23038;feed=1\" width=\"1\" height=\"1\" \/>","protected":false},"excerpt":{"rendered":"<p>&#8211;Originally published at angelmendozas Depends on the program you are writing, the if loop does or stops the desired task until what you programmed tells the program to do so. While loop does a task as long as something happens to do that task, after that it stops. A for loop can be combined with &hellip; <a href=\"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/when-to-use-what-type-of-repetition-in-a-program-4\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">When to use what type of repetition in a program<\/span><\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[34,370,33],"class_list":["post-38949","post","type-post","status-publish","format-standard","hentry","category-blogs","category-syndicated","tag-isc","tag-systems-engineering","tag-tc101"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/38949","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/comments?post=38949"}],"version-history":[{"count":3,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/38949\/revisions"}],"predecessor-version":[{"id":42065,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/38949\/revisions\/42065"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/media?parent=38949"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/categories?post=38949"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/tags?post=38949"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}