{"id":35047,"date":"2016-04-05T20:58:03","date_gmt":"2016-04-06T01:58:03","guid":{"rendered":"http:\/\/josequirogablog.wordpress.com\/?p=294"},"modified":"2016-04-05T22:16:28","modified_gmt":"2016-04-06T03:16:28","slug":"wsq-10-list-of-numbers","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2016\/2016\/04\/wsq-10-list-of-numbers\/","title":{"rendered":"WSQ 10 List of Numbers"},"content":{"rendered":"<p>In this WSQ I had to create a program that ask for numbers and then show them as a list, the total, average and standard deviation of them.<\/p>\n<p>So I used a <strong>for loop\u00a0<\/strong>with a array\u00a0to ask for the numbers, the\u00a0array was the quantity of numbers I would like to use for that program, so I could modify it for whatever I want to.<\/p>\n<p>Then, I created the functions <strong>Total, Average and Std. Dev.<\/strong>, the Total function could be used for the Average and the Average could be used for the Standard Deviation.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-312\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/04\/d88926eedca4c24ae2773ec92c4c3b55.jpg\" alt=\"Captura de pantalla 2016-04-05 a las 8.38.21 p.m.\"   \/><\/p>\n<p>When it runs looks like this:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-313\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/04\/0c4db02e03dde14d2d89f28d2dd66230.jpg\" alt=\"Captura de pantalla 2016-04-05 a las 8.38.44 p.m.\"   \/><\/p>\n<p>As you can see, this is an &#8220;easy&#8221; program but you have to make it easy to write, using functions, loops and arrays.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-263\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/04\/889d1271164f2b928e0abf15f539d38c-1.jpg#038;h=342\" alt=\"BRkj4jM_700wa_0\" width=\"347\" height=\"342\" \/><\/p>\n<p>TC101<\/p>\n<p>WSQ10<\/p>\n<p>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/josequirogablog.wordpress.com\/294\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/04\/0d3c73cab51a4eaaef89419407731fb0-1.jpg\" \/><\/a> <img loading=\"lazy\" decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/04\/477790d93f00cb7a0f49550f7f0720e2.jpg#038;blog=105339983&#038;%23038;post=294&#038;%23038;subd=josequirogablog&#038;%23038;ref=&#038;%23038;feed=1\" width=\"1\" height=\"1\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this WSQ I had to create a program that ask for numbers and then show them as a list, the total, average and standard deviation of them. So I used a for loop\u00a0with a array\u00a0to ask for the numbers, the\u00a0array was the quantity of numbers I would like to use for that program, so &hellip; <a href=\"https:\/\/kenscourses.com\/tc101winter2016\/2016\/04\/wsq-10-list-of-numbers\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">WSQ 10 List of Numbers<\/span><\/a><\/p>\n","protected":false},"author":18,"featured_media":35048,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[193,55],"class_list":["post-35047","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-wsq10","tag-programming"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/35047","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\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/comments?post=35047"}],"version-history":[{"count":3,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/35047\/revisions"}],"predecessor-version":[{"id":35062,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/35047\/revisions\/35062"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media\/35048"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media?parent=35047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/categories?post=35047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/tags?post=35047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}