{"id":6302,"date":"2017-01-10T13:45:18","date_gmt":"2017-01-10T13:45:18","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=6302"},"modified":"2025-07-28T09:24:32","modified_gmt":"2025-07-28T09:24:32","slug":"flowchart-to-find-the-smallest-among-3-numbers","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/flowchart-to-find-the-smallest-among-3-numbers\/","title":{"rendered":"Flowchart to find the smallest among 3 numbers?"},"content":{"rendered":"<h1>Flowchart to find the smallest among 3 numbers<\/h1>\n<p>In this tutorial, we will create a RAPTOR flowchart to find the smallest among 3 numbers. The flowchart will prompt the user to enter the three numbers.<\/p>\n<p>Environment:<\/p>\n<ul>\n<li>RAPTOR flowchart software<\/li>\n<li>Windows 10 operating system<\/li>\n<\/ul>\n<h2>Steps to create<\/h2>\n<p>Follow the below steps to create the flowchart using RAPTOR:<\/p>\n<p>Launch RAPTOR flowchart software.<\/p>\n<p>Create and save the flowchart.<\/p>\n<p>Declare three input variables <em>a, b,<\/em> and <em>c<\/em> to store the three numbers.<\/p>\n<p>Prompt the user to enter the three numbers using the Input symbol. We will assume that the user will input valid and unique numbers.<\/p>\n<p>Print the number on the output console using the Output symbol. The + operator in the output symbols is used for the string concatenation operator, which joins two strings into one combined string.<\/p>\n<p>Compare two numbers( a, b)\u00a0 initially with an IF selection control. The IF control has two branches: the <em>Yes<\/em> branch and the <em>No<\/em> branch. If the condition in the IF is T<em>rue,<\/em> the Yes branch will be executed. If the condition is <em>False<\/em>, the NO branch will be executed.<\/p>\n<p>Initially, we will check if <em>a &lt; b<\/em> in the outer If control. We nest another If selection symbol in the Yes and No branches to compare with the other number.<\/p>\n<p>For example, if a &lt; b is True and a &lt; c is True, then a is the smallest number.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22080\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/RAPTOR-smallest-of-three-numbers.png\" alt=\"RAPTOR smallest of three numbers\" width=\"1920\" height=\"1015\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/RAPTOR-smallest-of-three-numbers.png 1920w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/RAPTOR-smallest-of-three-numbers-300x159.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/RAPTOR-smallest-of-three-numbers-1024x541.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/RAPTOR-smallest-of-three-numbers-768x406.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/RAPTOR-smallest-of-three-numbers-1536x812.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>RAPTOR Flowchart<\/h2>\n<p>The RAPTOR flowchart to find the smallest of three numbers is as follows:<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22077\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/smallest-of-three-numbersflowchart-RAPTOR.png\" alt=\"smallest of three numbersflowchart RAPTOR\" width=\"694\" height=\"532\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/smallest-of-three-numbersflowchart-RAPTOR.png 694w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/smallest-of-three-numbersflowchart-RAPTOR-300x230.png 300w\" sizes=\"auto, (max-width: 694px) 100vw, 694px\" \/><\/p>\n<h2>Flowchart Output<\/h2>\n<p>Let&#8217;s run the flowchart to verify the output.<\/p>\n<p>Save the flowchart and run the flowchart. Menu option <em><strong>Run &gt;&gt; Execute<\/strong> to Completion<\/em><\/p>\n<p>Enter three numbers and verify the output. For example, let&#8217;s enter<\/p>\n<ul>\n<li>a = 5<\/li>\n<li>b = 7<\/li>\n<li>c = 9<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-22083 size-full\" title=\"smallest among 3 numbers output\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/RAPTOR-smallest-three-numbers-output.png\" alt=\"smallest among 3 numbers output\" width=\"1920\" height=\"1027\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/RAPTOR-smallest-three-numbers-output.png 1920w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/RAPTOR-smallest-three-numbers-output-300x160.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/RAPTOR-smallest-three-numbers-output-1024x548.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/RAPTOR-smallest-three-numbers-output-768x411.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/RAPTOR-smallest-three-numbers-output-1536x822.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>Flowchart output:<\/p>\n<p>The numbers are a= 5, b= 7 , c= 9<br \/>\n5 is the smallest number<\/p>\n<h2>Smallest among 3 numbers Pseudocode<\/h2>\n<p>The pseudocode for the flowchart is as follows:<\/p>\n<pre>\/**\r\n  * NAME:\r\n  * DATE:\r\n  * FILE:\r\n  * COMMENTS:\r\n  *\/\r\n\r\nSTART\r\n      DECLARE a,b,c \r\n      \r\n      INPUT a\r\n      INPUT b\r\n      INPUT c\r\n\r\n      IF (a &lt; b)\r\n      {\r\n         IF (a &lt; c)\r\n         {\r\n            PRINT a + \" is the smallest number\";\r\n         }\r\n         ELSE\r\n         {\r\n            PRINT c + \" is the smallest number \";\r\n         }\r\n      }\r\n      ELSE\r\n      {\r\n         IF (b &lt; c)\r\n         {\r\n            PRINT b + \" is the smallest number\";\r\n         }\r\n         ELSE\r\n         {\r\n            PRINT c + \" is the smallest number\";\r\n         }\r\n      }\r\nEND\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>That&#8217;s it. We have successfully designed a RAPTOR flowchart to find the smallest of the three numbers.<\/p>\n<p>&nbsp;<\/p>\n<h2>RAPTOR Tutorials<\/h2>\n<p>Raptor Tutorials can be <a href=\"https:\/\/www.testingdocs.com\/raptor-a-flowchart-tool\/\">found here<\/a> on this website.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Flowchart to find the smallest among 3 numbers In this tutorial, we will create a RAPTOR flowchart to find the smallest among 3 numbers. The flowchart will prompt the user to enter the three numbers. Environment: RAPTOR flowchart software Windows 10 operating system Steps to create Follow the below steps to create the flowchart using [&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-6302","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\/6302","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=6302"}],"version-history":[{"count":43,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/6302\/revisions"}],"predecessor-version":[{"id":27744,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/6302\/revisions\/27744"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=6302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=6302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=6302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}