{"id":5019,"date":"2016-08-01T04:44:47","date_gmt":"2016-08-01T04:44:47","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=5019"},"modified":"2024-12-24T16:26:04","modified_gmt":"2024-12-24T16:26:04","slug":"sum-of-n-integers-raptor-flowchart","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/sum-of-n-integers-raptor-flowchart\/","title":{"rendered":"Sum of N Integers Raptor Flowchart"},"content":{"rendered":"<h1>Sum of N Integers Raptor Flowchart<\/h1>\n<p>Let&#8217;s create a Raptor Flowchart to calculate the sum of N integers. We will prompt the user to enter the N.<\/p>\n<h3>Mathematical Notation<\/h3>\n<p>The mathematical notation for the sum is :<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/latex.codecogs.com\/gif.latex?\\huge&amp;space;Sum&amp;space;=&amp;space;\\sum_{i=1}^{N}&amp;space;i\" alt=\"\\huge Sum = \\sum_{i=1}^{N} i\" align=\"absmiddle\" title=\"\"><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Sum = 1 + 2 + 3 + &#8230;.. + N<\/strong><\/p>\n<h3>Steps to build<\/h3>\n<ul>\n<li>Install Raptor Flowchart Tool( <a href=\"https:\/\/www.testingdocs.com\/installing-raptor-on-windows\/\">https:\/\/www.testingdocs.com\/installing-raptor-on-windows\/<\/a>)<\/li>\n<li>Launch Raptor Flowchart tool.<\/li>\n<li>A Blank Flowchart will open with Start and End Symbols.<\/li>\n<li>Save the flowchart.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5026\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Blank-Flowchart.png\" alt=\"Blank Flowchart\" width=\"1554\" height=\"841\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Blank-Flowchart.png 1554w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Blank-Flowchart-300x162.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Blank-Flowchart-1024x554.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Blank-Flowchart-768x416.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Blank-Flowchart-1536x831.png 1536w\" sizes=\"auto, (max-width: 1554px) 100vw, 1554px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Assignment Symbol sum to accumulate the sum of the integers.<\/p>\n<p>sum &lt;- 0<\/p>\n<p>i &lt;- 1<\/p>\n<p>User prompt to enter N.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5032\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/User-Prompt-Flowchart.png\" alt=\"User Prompt Flowchart\" width=\"1593\" height=\"823\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/User-Prompt-Flowchart.png 1593w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/User-Prompt-Flowchart-300x155.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/User-Prompt-Flowchart-1024x529.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/User-Prompt-Flowchart-768x397.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/User-Prompt-Flowchart-1536x794.png 1536w\" sizes=\"auto, (max-width: 1593px) 100vw, 1593px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Add a loop structure to the flow chart.<\/p>\n<p><a href=\"https:\/\/www.testingdocs.com\/questions\/how-to-add-repetition-structure-to-the-raptor-flowchart\/\">https:\/\/www.testingdocs.com\/questions\/how-to-add-repetition-structure-to-the-raptor-flowchart\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5033\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowchart1-1.png\" alt=\"\" width=\"1049\" height=\"834\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowchart1-1.png 1049w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowchart1-1-300x239.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowchart1-1-1024x814.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowchart1-1-768x611.png 768w\" sizes=\"auto, (max-width: 1049px) 100vw, 1049px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Check if i &gt; N in the loop diamond box.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5034\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Loop-Flowchart.png\" alt=\"\" width=\"1697\" height=\"883\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Loop-Flowchart.png 1697w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Loop-Flowchart-300x156.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Loop-Flowchart-1024x533.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Loop-Flowchart-768x400.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Loop-Flowchart-1536x799.png 1536w\" sizes=\"auto, (max-width: 1697px) 100vw, 1697px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>In the <strong>No<\/strong> branch accumulate the sum and increment the i variable.<\/p>\n<p>sum &lt;- sum + i<\/p>\n<p>i &lt;- i + 1<\/p>\n<p>In the <strong>Yes<\/strong> branch print the sum variable to the output.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5038\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowchart-Sum-of-Integers-N.png\" alt=\"Flowchart Sum of Integers N\" width=\"1436\" height=\"811\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowchart-Sum-of-Integers-N.png 1436w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowchart-Sum-of-Integers-N-300x169.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowchart-Sum-of-Integers-N-1024x578.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Flowchart-Sum-of-Integers-N-768x434.png 768w\" sizes=\"auto, (max-width: 1436px) 100vw, 1436px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Flowchart for Sum of Squares<\/h3>\n<p><a href=\"https:\/\/www.testingdocs.com\/questions\/how-to-create-a-flow-chart-for-sum-of-squares-for-n-integers\/\">https:\/\/www.testingdocs.com\/questions\/how-to-create-a-flow-chart-for-sum-of-squares-for-n-integers\/<\/a><\/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\">https:\/\/www.testingdocs.com\/raptor-a-flowchart-tool\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sum of N Integers Raptor Flowchart Let&#8217;s create a Raptor Flowchart to calculate the sum of N integers. We will prompt the user to enter the N. Mathematical Notation The mathematical notation for the sum is : &nbsp; &nbsp; Sum = 1 + 2 + 3 + &#8230;.. + N Steps to build Install Raptor [&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-5019","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\/5019","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=5019"}],"version-history":[{"count":6,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/5019\/revisions"}],"predecessor-version":[{"id":26512,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/5019\/revisions\/26512"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=5019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=5019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=5019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}