{"id":30976,"date":"2016-02-10T22:26:56","date_gmt":"2016-02-11T04:26:56","guid":{"rendered":"http:\/\/linecodesite.wordpress.com\/?p=151"},"modified":"2016-02-10T23:57:04","modified_gmt":"2016-02-11T05:57:04","slug":"temperature-wsq05-4","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2016\/2016\/02\/temperature-wsq05-4\/","title":{"rendered":"Temperature WSQ05"},"content":{"rendered":"<p>Hello!! the task of today was simple, you have to declare variants, also you have to use &#8220;if&#8221; and &#8220;else&#8221;, the program will ask you for the temperature in fahrenheit and then the computer will calculate the temperature in celsius with this formula: C = 5 \u2217 (F \u2212 32)\/9. As an addition of this task, you have to manipulate the code until the computer tell the user if the water boils at the temperature given (under typical conditions), here is an example:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-172\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/359580d52a07313c65fdc0a9188cf40e.jpg\" alt=\"Captura de pantalla 2016-02-10 a las 10.20.39 p.m.\"   \/><\/p>\n<p>If you don&#8217;t know how to use &#8220;if&#8221; and &#8220;else&#8221; here are some videos, it might be useful.<\/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\/LX4a9Aka370?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\/MTjDwDHbcv0?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 finally, this is my code\u00a0<a href=\"https:\/\/github.com\/linecodeSite\/TC101-tasks-winter2016\/blob\/master\/Temperature\" >GitHub<\/a><\/p>\n<p>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/linecodesite.wordpress.com\/151\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/ab75a47e104ff4bef9974acb5ac09f74.jpg\" \/><\/a> <img loading=\"lazy\" decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/d26b438fc3d808c90892c6ace55bd086.jpg#038;blog=105404964&#038;%23038;post=151&#038;%23038;subd=linecodesite&#038;%23038;ref=&#038;%23038;feed=1\" width=\"1\" height=\"1\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello!! the task of today was simple, you have to declare variants, also you have to use &#8220;if&#8221; and &#8220;else&#8221;, the program will ask you for the temperature in fahrenheit and then the computer will calculate the temperature in celsius with this formula: C = 5 \u2217 (F \u2212 32)\/9. As an addition of this &hellip; <a href=\"https:\/\/kenscourses.com\/tc101winter2016\/2016\/02\/temperature-wsq05-4\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Temperature WSQ05<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":30978,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[113,114,112,84,41],"class_list":["post-30976","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-banana","tag-keepcoding","tag-tc101winter","tag-wsq05","tag-wsqs"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/30976","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=30976"}],"version-history":[{"count":3,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/30976\/revisions"}],"predecessor-version":[{"id":30983,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/30976\/revisions\/30983"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media\/30978"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media?parent=30976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/categories?post=30976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/tags?post=30976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}