{"id":4609,"date":"2018-10-07T04:13:09","date_gmt":"2018-10-07T04:13:09","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=4609"},"modified":"2025-03-18T10:10:57","modified_gmt":"2025-03-18T10:10:57","slug":"calculator-raptor-flowchart","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/calculator-raptor-flowchart\/","title":{"rendered":"Calculator Raptor Flowchart"},"content":{"rendered":"<h2>Calculator RAPTOR Flowchart<\/h2>\n<p>In this tutorial, you will create a Calculator RAPTOR Flowchart and sub-modules for the calculator&#8217;s different arithmetic operations.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24167\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-RAPTOR-Flowchart.png\" alt=\"Calculator RAPTOR Flowchart\" width=\"1920\" height=\"1080\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-RAPTOR-Flowchart.png 1920w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-RAPTOR-Flowchart-300x169.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-RAPTOR-Flowchart-1024x576.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-RAPTOR-Flowchart-768x432.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-RAPTOR-Flowchart-1536x864.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/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. An IPO chart is a handy tool for visualizing information 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<h2>Calculator Flowchart<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4613 size-full\" title=\"Calculator Raptor Flowchart\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-Flowchart.png\" alt=\"Calculator Raptor Flowchart\" width=\"1919\" height=\"1011\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-Flowchart.png 1919w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-Flowchart-300x158.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-Flowchart-1024x539.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-Flowchart-768x405.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-Flowchart-1536x809.png 1536w\" sizes=\"auto, (max-width: 1919px) 100vw, 1919px\" \/><\/p>\n<h3><\/h3>\n<p>The flowchart menu for the user to select the calculator operation.<\/p>\n<p><strong>Calculator Flowchart<\/strong><br \/>\n<strong>1.Add<\/strong><br \/>\n<strong>2.Subtract<\/strong><br \/>\n<strong>3.Multiply<\/strong><br \/>\n<strong>4.Divide<\/strong><\/p>\n<h2>Add Sub flowchart<\/h2>\n<p>The Add , Subtract, Multiply and Divide are sub modules in the flowchart. We call the respective modules based on the user choice.<\/p>\n<p>Add sub flowchart.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5069\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Add-subflowchart.png\" alt=\"Add subflowchart\" width=\"1700\" height=\"922\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Add-subflowchart.png 1700w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Add-subflowchart-300x163.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Add-subflowchart-1024x555.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Add-subflowchart-768x417.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Add-subflowchart-1536x833.png 1536w\" sizes=\"auto, (max-width: 1700px) 100vw, 1700px\" \/><\/p>\n<h2>Divide sub flowchart<\/h2>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5070\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Divide-Sub-FLowchart.png\" alt=\"Divide Sub FLowchart\" width=\"1730\" height=\"968\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Divide-Sub-FLowchart.png 1730w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Divide-Sub-FLowchart-300x168.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Divide-Sub-FLowchart-1024x573.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Divide-Sub-FLowchart-768x430.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Divide-Sub-FLowchart-1536x859.png 1536w\" sizes=\"auto, (max-width: 1730px) 100vw, 1730px\" \/><\/h3>\n<h2>Pseudocode<\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">Public Sub Main()\r\n\r\nDim result\r\nDim num1\r\nDim choice\r\nDim num2\r\n\r\nclear_console\r\nMsgBox \"Calculator Flowchart\"\r\nMsgBox \"1.Add\"\r\nMsgBox \"2.Subtract\"\r\nMsgBox \"3.Multiply\"\r\nMsgBox \"4.Divide\"\r\nPrompt = \"Enter your choice:\"\r\nInput choice\r\nIf choice &gt; 0 And choice &lt; 5 Then\r\nIf choice = 1 Then\r\nPrompt = \"Enter number1\"\r\nInput num1\r\nPrompt = \"Enter number2\"\r\nInput num2\r\nresult = num1 + num2\r\nMsgBox \"Result \" + num1 + \" + \" + num2 + \" =\" + result\r\nElse\r\nIf choice = 2 Then\r\nPrompt = \"Enter number1\"\r\nInput num1\r\nPrompt = \"Enter number2\"\r\nInput num2\r\nresult = num1 - num2\r\nMsgBox \"Result \" + num1 + \" - \" + num2 + \" =\" + result\r\nElse\r\nIf choice = 3 Then\r\nPrompt = \"Enter number1\"\r\nInput num1\r\nPrompt = \"Enter number2\"\r\nInput num2\r\nresult = num1 * num2\r\nMsgBox \"Result \" + num1 + \" * \" + num2 + \" =\" + result\r\nElse\r\nPrompt = \"Enter number1\"\r\nInput num1\r\nPrompt = \"Enter number2\"\r\nInput num2\r\nIf num2 = 0 Then\r\nMsgBox \"DIVIDE BY ZERO ERROR\"\r\nElse\r\nresult = num1 \/ num2\r\nMsgBox \"Result \" + num1 + \"\/ \" + num2 + \" =\" + result\r\nEnd If\r\nEnd If\r\nEnd If\r\nEnd If\r\nElse\r\nMsgBox \"INVALID OPERATION\"\r\nEnd If\r\n\r\nEnd Sub<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4614\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-Flowchart2.png\" alt=\"\" width=\"1920\" height=\"990\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-Flowchart2.png 1920w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-Flowchart2-300x155.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-Flowchart2-1024x528.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-Flowchart2-768x396.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Calculator-Flowchart2-1536x792.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/h3>\n<h2>Output<\/h2>\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:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.testingdocs.com\/debugging-a-raptor-flowchart\/\">https:\/\/www.testingdocs.com\/debugging-a-raptor-flowchart\/<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4612\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowchart-Output.png\" alt=\"\" width=\"1918\" height=\"988\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowchart-Output.png 1918w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowchart-Output-300x155.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowchart-Output-1024x527.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowchart-Output-768x396.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowchart-Output-1536x791.png 1536w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Calculator Flowchart<br \/>\n1.Add<br \/>\n2.Subtract<br \/>\n3.Multiply<br \/>\n4.Divide<br \/>\nResult 34 * 15 =510<br \/>\n&#8212;-Run complete. 20 symbols evaluated.&#8212;-<\/p>\n<p>&nbsp;<\/p>\n<h2>RAPTOR Tutorials<\/h2>\n<p>Raptor Tutorials on this website can be found at:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.testingdocs.com\/raptor-a-flowchart-tool\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.testingdocs.com\/raptor-a-flowchart-tool\/<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Calculator RAPTOR Flowchart In this tutorial, you will create a Calculator RAPTOR Flowchart and sub-modules for the calculator&#8217;s different arithmetic operations. &nbsp; IPO chart 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. An IPO chart is [&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":[19],"class_list":["post-4609","post","type-post","status-publish","format-standard","hentry","category-flowchart","tag-raptor","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\/4609","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=4609"}],"version-history":[{"count":18,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4609\/revisions"}],"predecessor-version":[{"id":27123,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4609\/revisions\/27123"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=4609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=4609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=4609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}