{"id":4644,"date":"2017-10-07T07:51:31","date_gmt":"2017-10-07T07:51:31","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=4644"},"modified":"2024-09-04T07:00:40","modified_gmt":"2024-09-04T07:00:40","slug":"flowchart-to-convert-length-from-feet-to-centimeter","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/flowchart-to-convert-length-from-feet-to-centimeter\/","title":{"rendered":"Flowchart to convert length from feet to centimeter"},"content":{"rendered":"<h2>Flowchart to convert length from feet to centimeter<\/h2>\n<p>Flowchart to convert length from feet to the centimeter. The flowchart prompts the user to enter the length in feet. It converts the length into centimeters.<\/p>\n<p>To work with the input and output symbols in the Raptor flowchart:<\/p>\n<p><strong><a href=\"https:\/\/www.testingdocs.com\/raptor-flowchart-basics-input-and-output\/\">https:\/\/www.testingdocs.com\/raptor-flowchart-basics-input-and-output\/<\/a><\/strong><\/p>\n<h3>IPO chart<\/h3>\n<p>Consider modeling an IPO chart for the flowchart before the flowchart design. Think about the input to the flowchart, processing statements, and the output of the flowchart. IPO chart is a handy tool to visualize in a tabular format.<\/p>\n<p>&nbsp;<\/p>\n<table border=\"1\" width=\"539\" cellspacing=\"1\" cellpadding=\"1\">\n<tbody>\n<tr>\n<td><strong>Input<\/strong><\/td>\n<td><strong>Process <\/strong><\/td>\n<td><strong>Output <\/strong><\/td>\n<\/tr>\n<tr>\n<td>Input to the flowchart.<\/td>\n<td>Computations that are done in the flowchart.<\/td>\n<td>Output displayed by the flowchart<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><\/h3>\n<h3>Pseudocode<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/**\r\n  * NAME:www.TestingDocs.com\r\n  * DATE:\r\n  * FILE:\r\n  * COMMENTS:\r\n  *\/\r\n\r\nSTART\r\n      \/\/ declare variables\r\n   \r\n      lengthInFeet = 0;\r\n      lengthInCentimeters = 0;\r\n      CONVERSION_FACTOR = 30.48;\r\n      PROMPT = \"Enter length in Feet\";\r\n      INPUT lengthInFeet;\r\n      lengthInCentimeters = lengthInFeet * CONVERSION_FACTOR;\r\n      Print(\"Length in feet=\" + lengthInFeet);\r\n      Print(\"Length in Cm=\" + lengthInCentimeters);\r\nEND<\/pre>\n<h3>Flowchart<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4647\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/ftToCm.png\" alt=\"Feet to Cm\" width=\"1917\" height=\"995\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/ftToCm.png 1917w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/ftToCm-300x156.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/ftToCm-1024x531.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/ftToCm-768x399.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/ftToCm-1536x797.png 1536w\" sizes=\"auto, (max-width: 1917px) 100vw, 1917px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Sample output<\/h3>\n<p>Let&#8217;s run the flowchart with sample test cases to verify that it&#8217;s working as intended. If you find that the flowchart is not working as intended in the testing, we may need to verify and debug the flowchart.<\/p>\n<p>Debugging a flowchart: <strong><a href=\"https:\/\/www.testingdocs.com\/debugging-a-raptor-flowchart\/\">https:\/\/www.testingdocs.com\/debugging-a-raptor-flowchart\/<\/a><\/strong><\/p>\n<p>Output<\/p>\n<p>Length in feet=2<br \/>\nLength in Cm=60.9600<br \/>\n&#8212;-Run complete. 9 symbols evaluated.&#8212;-<\/p>\n<p>We can validate the input in the flowchart to allow the user to enter only valid input. To make the flowchart reject invalid input data:<\/p>\n<p><strong><a href=\"https:\/\/www.testingdocs.com\/user-input-validation-in-raptor-flowchart\/\">https:\/\/www.testingdocs.com\/user-input-validation-in-raptor-flowchart\/<\/a><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Raptor Tutorials on this website can be found at:<\/p>\n<p><a href=\"https:\/\/www.testingdocs.com\/raptor-a-flowchart-tool\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>https:\/\/www.testingdocs.com\/raptor-a-flowchart-tool\/<\/strong><\/a><\/p>\n<p>RAPTOR official website: <a href=\"https:\/\/raptor.martincarlisle.com\/\" rel=\"noopener\"><strong>https:\/\/raptor.martincarlisle.com\/<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Flowchart to convert length from feet to centimeter Flowchart to convert length from feet to the centimeter. The flowchart prompts the user to enter the length in feet. It converts the length into centimeters. To work with the input and output symbols in the Raptor flowchart: https:\/\/www.testingdocs.com\/raptor-flowchart-basics-input-and-output\/ IPO chart Consider modeling an IPO chart for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[187],"tags":[208],"class_list":["post-4644","post","type-post","status-publish","format-standard","hentry","category-flowchart","tag-mathematics","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"_links":{"self":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4644","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/comments?post=4644"}],"version-history":[{"count":10,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4644\/revisions"}],"predecessor-version":[{"id":24015,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4644\/revisions\/24015"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=4644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=4644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=4644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}