{"id":29478,"date":"2016-02-03T12:53:55","date_gmt":"2016-02-03T18:53:55","guid":{"rendered":"http:\/\/batmantec.wordpress.com\/?p=167"},"modified":"2016-02-03T13:15:10","modified_gmt":"2016-02-03T19:15:10","slug":"sum-of-numbers-wsq07","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2016\/2016\/02\/sum-of-numbers-wsq07\/","title":{"rendered":"Sum of numbers WSQ07"},"content":{"rendered":"<p>For this one I actually get a lot of trouble to find out how to make it, because I already know the functions of if and do\/while. But for some type of reason I didn&#8217;t manage to get it done right. So I ask some of my student partners to if they can explain me how this is suppose to be done. At the end I finally get it right.<\/p>\n<p>Another problem that I faced was the one that it was presented that the sum starter with 0, but I actually need to started in 1 to get it as the example that the teacher give us, that was 1 as the lower and 10 as the upper, and getting 55 as result, but when I started the sum in 0, the program actually give me as result 54, so I change it to 1 so this number was the correct one.<\/p>\n<p>Here are the pictures:<\/p>\n<p><a href=\"https:\/\/batmantec.wordpress.com\/2016\/02\/03\/sum-of-numbers-wsq07\/#gallery-167-1-slideshow\">Click to view slideshow.<\/a><\/p>\n<p>Here is the code in GitHub:<\/p>\n<p><a href=\"https:\/\/gist.github.com\/batmantec\/bcec98aea205edcb679c\" >https:\/\/gist.github.com\/batmantec\/bcec98aea205edcb679c<\/a><\/p>\n<p>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/batmantec.wordpress.com\/167\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/4ff2b3b3b65b2d691ba5821e09a0a743.jpg\" \/><\/a> <img loading=\"lazy\" decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/8d9c275df82835d381f51ec702f5db43.jpg#038;blog=105220712&#038;%23038;post=167&#038;%23038;subd=batmantec&#038;%23038;ref=&#038;%23038;feed=1\" width=\"1\" height=\"1\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For this one I actually get a lot of trouble to find out how to make it, because I already know the functions of if and do\/while. But for some type of reason I didn&#8217;t manage to get it done right. So I ask some of my student partners to if they can explain me &hellip; <a href=\"https:\/\/kenscourses.com\/tc101winter2016\/2016\/02\/sum-of-numbers-wsq07\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Sum of numbers WSQ07<\/span><\/a><\/p>\n","protected":false},"author":10,"featured_media":29487,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[125,52],"class_list":["post-29478","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-wsq07","tag-education"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/29478","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\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/comments?post=29478"}],"version-history":[{"count":6,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/29478\/revisions"}],"predecessor-version":[{"id":29489,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/29478\/revisions\/29489"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media\/29487"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media?parent=29478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/categories?post=29478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/tags?post=29478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}