{"id":31110,"date":"2016-02-12T09:51:26","date_gmt":"2016-02-12T15:51:26","guid":{"rendered":"http:\/\/josequirogablog.wordpress.com\/?p=238"},"modified":"2016-02-12T10:47:08","modified_gmt":"2016-02-12T16:47:08","slug":"wsq09-factorial-2","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2016\/2016\/02\/wsq09-factorial-2\/","title":{"rendered":"WSQ09 Factorial"},"content":{"rendered":"<p>In this program we have to make a loop in which we find the factorial number of the one ingress by the user. Then we have to ask if he wants to ingress another number to calculate the factorial.<\/p>\n<p>The factorial function (symbol: <span style=\"font-size:xx-small;line-height:15.3px;\"><b>!<\/b><\/span>) means to multiply a series of descending natural numbers. Example:<\/p>\n<div class=\"bigul\">\n<ul>\n<li>4! = 4 \u00d7 3 \u00d7 2 \u00d7 1 = 24<\/li>\n<\/ul>\n<\/div>\n<p>I\u00b4m going to use a For loop to make the factorial inside a Do-While loop to ask if he wants another number.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-248\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/5fc41242d7ff0f1526f79a07847d81c0.jpg\" alt=\"Captura de pantalla 2016-02-12 a las 9.44.23 a.m.\"   \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-249\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/2cc40304126cc4b569d9354d836be805.jpg\" alt=\"Captura de pantalla 2016-02-12 a las 9.44.43 a.m.\"   \/><\/p>\n<p>The code will be <a href=\"https:\/\/github.com\/Chema1807\/TC101\/blob\/master\/Factorial\">here<\/a> at GitHub<\/p>\n<p>Greetings!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-262\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/d6b08bbf3c1efacf7db4b4566bacecb3.jpg#038;h=363\" alt=\"BRk4Gd2_700wa_0\" width=\"304\" height=\"363\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>TC101<\/p>\n<p>WSQ09<\/p>\n<p>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/josequirogablog.wordpress.com\/238\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/3c8f724cdf6b74859e9121faf1c3bda2.jpg\" \/><\/a> <img loading=\"lazy\" decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/cc5a5d3e56362f5fe33065d6dc02ea42.jpg#038;blog=105339983&#038;%23038;post=238&#038;%23038;subd=josequirogablog&#038;%23038;ref=&#038;%23038;feed=1\" width=\"1\" height=\"1\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this program we have to make a loop in which we find the factorial number of the one ingress by the user. Then we have to ask if he wants to ingress another number to calculate the factorial. The factorial function (symbol: !) means to multiply a series of descending natural numbers. Example: 4! &hellip; <a href=\"https:\/\/kenscourses.com\/tc101winter2016\/2016\/02\/wsq09-factorial-2\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">WSQ09 Factorial<\/span><\/a><\/p>\n","protected":false},"author":18,"featured_media":31112,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[127,55],"class_list":["post-31110","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-wsq09","tag-programming"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/31110","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=31110"}],"version-history":[{"count":2,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/31110\/revisions"}],"predecessor-version":[{"id":31121,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/31110\/revisions\/31121"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media\/31112"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media?parent=31110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/categories?post=31110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/tags?post=31110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}