{"id":31168,"date":"2016-02-12T20:44:28","date_gmt":"2016-02-13T02:44:28","guid":{"rendered":"http:\/\/linecodesite.wordpress.com\/?p=197"},"modified":"2016-02-12T22:12:53","modified_gmt":"2016-02-13T04:12:53","slug":"sum-of-numbers-wsq07-2","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2016\/2016\/02\/sum-of-numbers-wsq07-2\/","title":{"rendered":"Sum of numbers WSQ07"},"content":{"rendered":"<p>Hello my friends, today we are going to do a task that is very similar to the last ones, but a little more difficult, we are going to write a program that ask the user for a range of integer numbers\u00a0and then prints the sum of the numbers in that range (inclusive).<\/p>\n<p>We can use a formula but thats not the way that we are going to do it, first we have to decelerate variants, and the use &#8220;while&#8221; and &#8220;if&#8221;. Here are some grateful videos for your enjoyment.<\/p>\n<p><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text\/html' width='474' height='297' src='https:\/\/www.youtube.com\/embed\/_AUlk-cBZas?version=3&#038;rel=1&#038;%23038;fs=1&#038;%23038;autohide=2&#038;%23038;showsearch=0&#038;%23038;showinfo=1&#038;%23038;iv_load_policy=1&#038;%23038;wmode=transparent' frameborder='0' allowfullscreen='true'><\/iframe><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text\/html' width='474' height='297' src='https:\/\/www.youtube.com\/embed\/zbcdzXEN5kQ?version=3&#038;rel=1&#038;%23038;fs=1&#038;%23038;autohide=2&#038;%23038;showsearch=0&#038;%23038;showinfo=1&#038;%23038;iv_load_policy=1&#038;%23038;wmode=transparent' frameborder='0' allowfullscreen='true'><\/iframe><\/span><\/p>\n<p>And as always, the link for my code in\u00a0<a href=\"https:\/\/github.com\/linecodeSite\/TC101-tasks-winter2016\/blob\/master\/Sum%20of%20numbers\" >GitHub<\/a>\u00a0and some evidence<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-210\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/24c0762ff8bd844ad95e7d04d52e8e63.jpg\" alt=\"Captura de pantalla 2016-02-12 a las 8.42.59 p.m..png\"   \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/linecodesite.wordpress.com\/197\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/827a5ceef7936aef9f696cbac0f343c0.jpg\" \/><\/a> <img loading=\"lazy\" decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/3e32bfaee364fe0bb5677c6dc2a6a6be.jpg#038;blog=105404964&#038;%23038;post=197&#038;%23038;subd=linecodesite&#038;%23038;ref=&#038;%23038;feed=1\" width=\"1\" height=\"1\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello my friends, today we are going to do a task that is very similar to the last ones, but a little more difficult, we are going to write a program that ask the user for a range of integer numbers\u00a0and then prints the sum of the numbers in that range (inclusive). We can use &hellip; <a href=\"https:\/\/kenscourses.com\/tc101winter2016\/2016\/02\/sum-of-numbers-wsq07-2\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Sum of numbers WSQ07<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":31175,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[113,31,112,125,41],"class_list":["post-31168","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-banana","tag-tc101","tag-tc101winter","tag-wsq07","tag-wsqs"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/31168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/comments?post=31168"}],"version-history":[{"count":3,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/31168\/revisions"}],"predecessor-version":[{"id":31180,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/31168\/revisions\/31180"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media\/31175"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media?parent=31168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/categories?post=31168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/tags?post=31168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}