{"id":4626,"date":"2017-10-07T06:44:30","date_gmt":"2017-10-07T06:44:30","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=4626"},"modified":"2021-03-17T08:54:23","modified_gmt":"2021-03-17T08:54:23","slug":"flowchart-to-obtain-the-numbers-between-1-and-n-which-are-divisible-by-5","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/flowchart-to-obtain-the-numbers-between-1-and-n-which-are-divisible-by-5\/","title":{"rendered":"Flowchart to obtain the numbers between 1 and N which are divisible by 5"},"content":{"rendered":"<h3>Introduction<\/h3>\n<p>Flowchart to obtain the numbers between 1 and N which are divisible by 5. We will use Raptor to design the flowchart to find the integers that are multiples of 5 between 1 and N.<\/p>\n<h3>Flowchart<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4629\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/multiples-of-5.png\" alt=\"multiples of 5\" width=\"1920\" height=\"1007\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/multiples-of-5.png 1920w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/multiples-of-5-300x157.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/multiples-of-5-1024x537.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/multiples-of-5-768x403.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/multiples-of-5-1536x806.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Pseudocode<\/h3>\n<p>\/**<br \/>\n* NAME:<br \/>\n* DATE:<br \/>\n* FILE:<br \/>\n* COMMENTS:<br \/>\n*\/<\/p>\n<p>START<br \/>\n\/\/ declare variables<br \/>\nn = 0;<br \/>\ncounter = 1;<br \/>\nPROMPT = &#8220;Enter n&#8221;;<br \/>\nINPUT n<br \/>\nWHILE (counter &gt; n)<br \/>\n{<br \/>\nIF (counter % 5 == 0)<br \/>\n{<br \/>\nprintLine(counter);<br \/>\n}<br \/>\ncounter = counter + 1;<br \/>\n}<br \/>\nEND<\/p>\n<p>&nbsp;<\/p>\n<p>The <strong>counter<\/strong> is the variable that goes from 1 to n. We will check if the counter is divisible by 5 . If it is divisable then we will print the value.<\/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<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<!--themify_builder_content-->\n<div id=\"themify_builder_content-4626\" data-postid=\"4626\" class=\"themify_builder_content themify_builder_content-4626 themify_builder tf_clear\">\n    <\/div>\n<!--\/themify_builder_content-->\n","protected":false},"excerpt":{"rendered":"<p>Introduction Flowchart to obtain the numbers between 1 and N which are divisible by 5. We will use Raptor to design the flowchart to find the integers that are multiples of 5 between 1 and N. Flowchart &nbsp; Pseudocode \/** * NAME: * DATE: * FILE: * COMMENTS: *\/ START \/\/ declare variables n = [&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-4626","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\/4626","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=4626"}],"version-history":[{"count":3,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4626\/revisions"}],"predecessor-version":[{"id":19336,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4626\/revisions\/19336"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=4626"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=4626"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=4626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}