{"id":6221,"date":"2017-01-11T15:55:53","date_gmt":"2017-01-11T15:55:53","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=6221"},"modified":"2024-12-14T04:26:59","modified_gmt":"2024-12-14T04:26:59","slug":"how-to-draw-a-flowchart-for-reverse-of-a-string","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/how-to-draw-a-flowchart-for-reverse-of-a-string\/","title":{"rendered":"Flowchart for Reverse of a String?"},"content":{"rendered":"<h2>Flowchart for the Reverse of a String?<\/h2>\n<p>In this post, we will create a flowchart to reverse a string. The flowchart prompts the user to enter a String. The flowchart uses a loop and prints the reverse of the string.<\/p>\n<p>Sample Input: Hello<\/p>\n<p>Output: 0lleH<\/p>\n<p>&nbsp;<\/p>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6252\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/String-Reversal.png\" alt=\"String Reversal\" width=\"1479\" height=\"780\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/String-Reversal.png 1479w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/String-Reversal-300x158.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/String-Reversal-1024x540.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/String-Reversal-768x405.png 768w\" sizes=\"auto, (max-width: 1479px) 100vw, 1479px\" \/><\/h3>\n<h2>Raptor Flowchart<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6223\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/reverse-of-String-1.png\" alt=\"reverse of String\" width=\"781\" height=\"966\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/reverse-of-String-1.png 781w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/reverse-of-String-1-243x300.png 243w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/reverse-of-String-1-768x950.png 768w\" sizes=\"auto, (max-width: 781px) 100vw, 781px\" \/><\/p>\n<p>Execute the flowchart.<\/p>\n<p>Enter a sample string.<\/p>\n<h2>Flowchart Output<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6227\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Reverse-String-Output.png\" alt=\"Reverse String Output\" width=\"1426\" height=\"916\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Reverse-String-Output.png 1426w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Reverse-String-Output-300x193.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Reverse-String-Output-1024x658.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Reverse-String-Output-768x493.png 768w\" sizes=\"auto, (max-width: 1426px) 100vw, 1426px\" \/><\/p>\n<h3><\/h3>\n<h3>Sample Testcases<\/h3>\n<table style=\"height: 63px;\" border=\"1\" width=\"539\" cellspacing=\"1\" cellpadding=\"1\" data-cke-table-faked-selection-table=\"\">\n<tbody>\n<tr>\n<td class=\"cke_table-faked-selection\"><strong>Test Case Scenario<\/strong><\/td>\n<td class=\"cke_table-faked-selection\"><strong>Detailed Steps<\/strong><\/td>\n<td class=\"cke_table-faked-selection\"><strong>Test Data<\/strong><\/td>\n<td class=\"cke_table-faked-selection\"><strong>Expected Result<\/strong><\/td>\n<td class=\"cke_table-faked-selection\"><strong>Actual Result<\/strong><\/td>\n<\/tr>\n<tr>\n<td class=\"cke_table-faked-selection\">Simple String<\/td>\n<td class=\"cke_table-faked-selection\">Launch Raptor.<\/p>\n<p>Execute the flowchart.<\/p>\n<p>Enter Sample String.<\/td>\n<td class=\"cke_table-faked-selection\">Hello<\/td>\n<td class=\"cke_table-faked-selection\">olleH<\/td>\n<td class=\"cke_table-faked-selection\"><\/td>\n<\/tr>\n<tr>\n<td class=\"cke_table-faked-selection\">String with whitespace<\/td>\n<td class=\"cke_table-faked-selection\">Launch Raptor.<\/p>\n<p>Execute the flowchart.<\/p>\n<p>Enter Sample String.<\/td>\n<td class=\"cke_table-faked-selection\">Testing Docs<\/td>\n<td class=\"cke_table-faked-selection\">scoD gnitseT<\/td>\n<td class=\"cke_table-faked-selection\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>RAPTOR tutorial page:<\/p>\n<p><a href=\"https:\/\/www.testingdocs.com\/raptor-a-flowchart-tool\/\">https:\/\/www.testingdocs.com\/raptor-a-flowchart-tool\/<\/a><\/p>\n<p>Flowchart examples:<\/p>\n<p><a href=\"https:\/\/www.testingdocs.com\/raptor-flowchart-examples\/\">https:\/\/www.testingdocs.com\/raptor-flowchart-examples\/<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Flowchart for the Reverse of a String? In this post, we will create a flowchart to reverse a string. The flowchart prompts the user to enter a String. The flowchart uses a loop and prints the reverse of the string. Sample Input: Hello Output: 0lleH &nbsp; Raptor Flowchart Execute the flowchart. Enter a sample string. [&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-6221","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\/6221","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=6221"}],"version-history":[{"count":19,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/6221\/revisions"}],"predecessor-version":[{"id":26408,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/6221\/revisions\/26408"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=6221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=6221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=6221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}