{"id":49,"date":"2021-10-31T14:30:00","date_gmt":"2021-10-31T14:30:00","guid":{"rendered":"https:\/\/rijankc.com.np\/2021\/10\/31\/wap-that-converts-centigrade-temperature-to-fahrenheit-temperatures\/"},"modified":"2024-11-04T09:39:33","modified_gmt":"2024-11-04T03:54:33","slug":"wap-that-converts-centigrade-temperature-to-fahrenheit-temperatures","status":"publish","type":"post","link":"https:\/\/rijankc.com.np\/?p=49","title":{"rendered":"WAP that converts Centigrade Temperature to Fahrenheit Temperatures"},"content":{"rendered":"<p style=\"line-height: normal; text-indent: -.25in; margin: 0in 0in 0in .25in;\"><span style=\"font-family: 'Times New Roman','serif'; mso-bidi-font-size: 11.0pt;\"><span style=\"mso-tab-count: 1;\"><b>Question:<\/b><\/span><\/span><\/p>\n<p style=\"line-height: normal; text-indent: -.25in; margin: 0in 0in 0in .25in;\"><span style=\"font-family: 'Times New Roman','serif'; mso-bidi-font-size: 11.0pt;\"><b>Write a program that converts centigrade temperature to Fahrenheit temperatures. The formula is: F = (9\/5)*C+32. F is the Fahrenheit temperature and C is the Centigrade temperature.<\/b><\/span><\/p>\n<p style=\"line-height: normal; text-indent: -.25in; margin: 0in 0in 0in .25in;\"><span style=\"font-family: 'Times New Roman','serif'; mso-bidi-font-size: 11.0pt;\">\u00a0<\/span><\/p>\n<p style=\"line-height: normal; text-indent: -.25in; margin: 0in 0in 0in .25in;\"><span style=\"font-family: 'Times New Roman','serif'; mso-bidi-font-size: 11.0pt;\">Ans:<\/span><\/p>\n<p style=\"line-height: normal; text-indent: -.25in; margin: 0in 0in 0in .25in;\"><span style=\"font-family: 'Times New Roman','serif'; mso-bidi-font-size: 11.0pt;\"><span style=\"mso-tab-count: 1;\">\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span>REM &#8220;Converts a temperature from Centigrade to Fahrenheit&#8221;<\/span><\/p>\n<p style=\"line-height: normal; text-indent: -.25in; margin: 0in 0in 0in .25in;\"><span style=\"font-family: 'Times New Roman','serif'; mso-bidi-font-size: 11.0pt;\"><span style=\"mso-tab-count: 1;\">\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span>CLS &#8216;Clear the screen<\/span><\/p>\n<p style=\"line-height: normal; text-indent: -.25in; margin: 0in 0in 0in .25in;\"><span style=\"font-family: 'Times New Roman','serif'; mso-bidi-font-size: 11.0pt;\"><span style=\"mso-tab-count: 1;\">\u00a0 \u00a0 \u00a0 <\/span>INPUT &#8220;Enter the temperature in centigrade&#8221;; C<\/span><\/p>\n<p style=\"line-height: normal; text-indent: -.25in; margin: 0in 0in 0in .25in;\"><span style=\"font-family: 'Times New Roman','serif'; mso-bidi-font-size: 11.0pt;\"><span style=\"mso-tab-count: 1;\">\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span>F = C*(9\/5)+32<\/span><\/p>\n<p style=\"line-height: normal; text-indent: -.25in; margin: 0in 0in 0in .25in;\"><span style=\"font-family: 'Times New Roman','serif'; mso-bidi-font-size: 11.0pt;\"><span style=\"mso-tab-count: 1;\">\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span>PRINT &#8220;The Fahrenheit value is&#8221;; F<\/span><\/p>\n<p style=\"line-height: normal; text-indent: -.25in; margin: 0in 0in 0in .25in;\"><span style=\"font-family: 'Times New Roman','serif'; mso-bidi-font-size: 11.0pt;\"><span style=\"mso-tab-count: 1;\">\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span>END<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question: Write a program that converts centigrade temperature to Fahrenheit temperatures. The formula is: F = (9\/5)*C+32. F is the Fahrenheit temperature and C is the Centigrade temperature. \u00a0 Ans: \u00a0\u00a0\u00a0\u00a0\u00a0 REM &#8220;Converts a temperature from Centigrade to Fahrenheit&#8221; \u00a0\u00a0\u00a0\u00a0\u00a0 CLS &#8216;Clear the screen \u00a0 \u00a0 \u00a0 INPUT &#8220;Enter the temperature in centigrade&#8221;; C \u00a0\u00a0\u00a0\u00a0\u00a0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":741,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[115,114],"tags":[],"class_list":["post-49","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c-programming","category-wap"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/rijankc.com.np\/index.php?rest_route=\/wp\/v2\/posts\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rijankc.com.np\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rijankc.com.np\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rijankc.com.np\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rijankc.com.np\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=49"}],"version-history":[{"count":2,"href":"https:\/\/rijankc.com.np\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions"}],"predecessor-version":[{"id":434,"href":"https:\/\/rijankc.com.np\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions\/434"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rijankc.com.np\/index.php?rest_route=\/wp\/v2\/media\/741"}],"wp:attachment":[{"href":"https:\/\/rijankc.com.np\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rijankc.com.np\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rijankc.com.np\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}