{"id":4573,"date":"2017-10-06T07:06:45","date_gmt":"2017-10-06T07:06:45","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=4573"},"modified":"2021-03-17T09:02:14","modified_gmt":"2021-03-17T09:02:14","slug":"flowchart-to-find-average-of-two-numbers","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/flowchart-to-find-average-of-two-numbers\/","title":{"rendered":"Flowchart to find average of two numbers"},"content":{"rendered":"<h3>Introduction<\/h3>\n<p>Let&#8217;s design a flowchart to find the average of two numbers in this tutorial. The flowchart will prompt the user to enter the two numbers. The flowchart would calculate the average of the numbers.<\/p>\n<p>We would be using the Raptor flowchart interpreter for modeling the flowchart.<\/p>\n<h3>Raptor Tutorial<\/h3>\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\">https:\/\/raptor.martincarlisle.com\/<\/a><\/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>Flowchart<\/h3>\n<p>Adding input and output symbols to the flow chart:<\/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<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4576 size-full\" title=\"Find Average of Two Numbers Flowchart\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Average-Flowchart.png\" alt=\"Find Average of Two Numbers Flowchart\" width=\"1655\" height=\"1007\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Average-Flowchart.png 1655w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Average-Flowchart-300x183.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Average-Flowchart-1024x623.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Average-Flowchart-768x467.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Average-Flowchart-1536x935.png 1536w\" sizes=\"auto, (max-width: 1655px) 100vw, 1655px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>We have used two predefined functions is the flowchart.<\/p>\n<ul>\n<li>Clear_Console<\/li>\n<li>Set_Precision<\/li>\n<\/ul>\n<p>Clear_Console clears the master console before the execution of the flowchart. Any previous run outputs in the console would be cleared.<\/p>\n<p>Set_Precision(digits) will set the output values to the supplied number of significant places after the decimal.<\/p>\n<h3>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>&nbsp;<\/p>\n<p>Run the flowchart.<\/p>\n<p>Enter values 25 and 30 for the input numbers.<\/p>\n<p>Numbers entered by the user=25.00 and 30.00<br \/>\nAverage of the two numbers is=27.50<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4578\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Raptor-Flowchart-Average.png\" alt=\"Raptor Flowchart Average\" width=\"1920\" height=\"990\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Raptor-Flowchart-Average.png 1920w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Raptor-Flowchart-Average-300x155.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Raptor-Flowchart-Average-1024x528.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Raptor-Flowchart-Average-768x396.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Raptor-Flowchart-Average-1536x792.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>More Flowchart Examples<\/h3>\n<p><strong><a href=\"https:\/\/www.testingdocs.com\/raptor-flowchart-examples\/\">https:\/\/www.testingdocs.com\/raptor-flowchart-examples\/<\/a><\/strong><\/p>\n<!--themify_builder_content-->\n<div id=\"themify_builder_content-4573\" data-postid=\"4573\" class=\"themify_builder_content themify_builder_content-4573 themify_builder tf_clear\">\n    <\/div>\n<!--\/themify_builder_content-->\n","protected":false},"excerpt":{"rendered":"<p>Introduction Let&#8217;s design a flowchart to find the average of two numbers in this tutorial. The flowchart will prompt the user to enter the two numbers. The flowchart would calculate the average of the numbers. We would be using the Raptor flowchart interpreter for modeling the flowchart. Raptor Tutorial Raptor Tutorials on this website can [&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-4573","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\/4573","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=4573"}],"version-history":[{"count":10,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4573\/revisions"}],"predecessor-version":[{"id":19339,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4573\/revisions\/19339"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=4573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=4573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=4573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}