{"id":6422,"date":"2017-01-17T10:46:20","date_gmt":"2017-01-17T10:46:20","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=6422"},"modified":"2024-12-14T04:28:08","modified_gmt":"2024-12-14T04:28:08","slug":"flowchart-to-find-the-sum-of-even-numbers-from-1-to-n","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/flowchart-to-find-the-sum-of-even-numbers-from-1-to-n\/","title":{"rendered":"Flowchart to find the sum of even numbers from 1 to n"},"content":{"rendered":"<h2>Flowchart to find the sum of even numbers from 1 to n<\/h2>\n<p>In this post, we will develop a RAPTOR flowchart to find the sum of even numbers from 1 to n. To find the sum of even numbers we need to iterate the numbers from 1 to n.<\/p>\n<h3>Flowchart<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6427\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/sumofEvenNumbers.png\" alt=\"Sum of Even Numbers\" width=\"735\" height=\"931\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/sumofEvenNumbers.png 735w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/sumofEvenNumbers-237x300.png 237w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/p>\n<h3>Output<\/h3>\n<p>N=10<br \/>\nSum of even number from 1 to N =30<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6428\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/raptor-flowchart-ouput-even-numbers-sum.png\" alt=\"raptor flowchart ouput even numbers sum\" width=\"1778\" height=\"999\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/raptor-flowchart-ouput-even-numbers-sum.png 1778w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/raptor-flowchart-ouput-even-numbers-sum-300x169.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/raptor-flowchart-ouput-even-numbers-sum-1024x575.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/raptor-flowchart-ouput-even-numbers-sum-768x432.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/raptor-flowchart-ouput-even-numbers-sum-1536x863.png 1536w\" sizes=\"auto, (max-width: 1778px) 100vw, 1778px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>In the same way, we can calculate the sum of odd numbers too from the 1 to N range. To calculate the sum of odd numbers, instead of the even number 2 we need to start with the odd number 1.<\/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>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Flowchart to find the sum of even numbers from 1 to n In this post, we will develop a RAPTOR flowchart to find the sum of even numbers from 1 to n. To find the sum of even numbers we need to iterate the numbers from 1 to n. Flowchart Output N=10 Sum of even [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,187],"tags":[208],"class_list":["post-6422","post","type-post","status-publish","format-standard","hentry","category-automation","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\/6422","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=6422"}],"version-history":[{"count":12,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/6422\/revisions"}],"predecessor-version":[{"id":26412,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/6422\/revisions\/26412"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=6422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=6422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=6422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}