{"id":18911,"date":"2017-02-24T09:06:27","date_gmt":"2017-02-24T09:06:27","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=18911"},"modified":"2024-09-04T07:57:50","modified_gmt":"2024-09-04T07:57:50","slug":"perfect-square-number-raptor-flowchart","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/perfect-square-number-raptor-flowchart\/","title":{"rendered":"Perfect Square Number Raptor Flowchart"},"content":{"rendered":"<h2>Perfect Square Number Raptor Flowchart<\/h2>\n<p>In this post, we will model a Raptor flowchart to check if the number is a Perfect Square Number. The flowchart will prompt the user to enter a number.<\/p>\n<h3>Perfect Square Number<\/h3>\n<p>A perfect square is a number that can be expressed as the product of two integers. For example,<\/p>\n<p>3&#215;3 = 9<\/p>\n<p>On the other hand, 80 is not a perfect square number. It is because we cannot express 80 as a product of two integers.<\/p>\n<p>8&#215;8 = 64<\/p>\n<p>9&#215;9= 81<\/p>\n<h3>Flowchart<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18913\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Perfect-Square-Number-Flowchart-Main.png\" alt=\"Perfect Square Number Flowchart Main\" width=\"932\" height=\"1011\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Perfect-Square-Number-Flowchart-Main.png 932w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Perfect-Square-Number-Flowchart-Main-277x300.png 277w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Perfect-Square-Number-Flowchart-Main-768x833.png 768w\" sizes=\"auto, (max-width: 932px) 100vw, 932px\" \/><\/p>\n<p>The main flowchart handles the user input. It calls itself if the input is invalid. It calls a procedure if provided with a number. The procedure checks if the number.<\/p>\n<h3>Procedure<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18914\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Perfect-Square-Number-Flowchart.png\" alt=\"Perfect Square Number Flowchart\" width=\"1012\" height=\"1456\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Perfect-Square-Number-Flowchart.png 1012w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Perfect-Square-Number-Flowchart-209x300.png 209w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Perfect-Square-Number-Flowchart-712x1024.png 712w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Perfect-Square-Number-Flowchart-768x1105.png 768w\" sizes=\"auto, (max-width: 1012px) 100vw, 1012px\" \/><\/p>\n<h3>Sample Output<\/h3>\n<p>Save the flowchart and run the flowchart on your computer. Run some test cases to check if the flowchart is working as intended.<\/p>\n<p>Sample flowchart output is shown below:<\/p>\n<p>&nbsp;<\/p>\n<pre>User Input :=abcd\r\nERROR: Invalid Input\r\nUser Input number is:=9\r\nNumber is Perfect Square\r\n3x3=9\r\nUser Input number is:=80\r\nNot Perfect Square\r\nUser Input number is:=81\r\nNumber is Perfect Square\r\n9x9=81\r\nUser Input :=abc\r\nERROR: Invalid Input\r\nUser Input number is:=121\r\nNumber is Perfect Square\r\n11x11=121\r\nThank you. Good Bye!<\/pre>\n<p>&nbsp;<\/p>\n<p>The flowchart is intelligent enough to discard illegal inputs. The flowchart would also prompt the user to check another number at the end. Based on the user choice it will calculate another number.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18916\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Perfect-Square-Flowchart-Output.png\" alt=\"Perfect Square Flowchart Output\" width=\"1516\" height=\"1003\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Perfect-Square-Flowchart-Output.png 1516w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Perfect-Square-Flowchart-Output-300x198.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Perfect-Square-Flowchart-Output-1024x677.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Perfect-Square-Flowchart-Output-768x508.png 768w\" sizes=\"auto, (max-width: 1516px) 100vw, 1516px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>More 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\"><strong>https:\/\/raptor.martincarlisle.com\/<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Perfect Square Number Raptor Flowchart In this post, we will model a Raptor flowchart to check if the number is a Perfect Square Number. The flowchart will prompt the user to enter a number. Perfect Square Number A perfect square is a number that can be expressed as the product of two integers. For example, [&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-18911","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\/18911","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=18911"}],"version-history":[{"count":13,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/18911\/revisions"}],"predecessor-version":[{"id":24162,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/18911\/revisions\/24162"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=18911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=18911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=18911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}