{"id":4650,"date":"2017-10-07T08:32:23","date_gmt":"2017-10-07T08:32:23","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=4650"},"modified":"2021-03-17T08:48:49","modified_gmt":"2021-03-17T08:48:49","slug":"flowchart-for-x-raised-to-the-power-of-y","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/flowchart-for-x-raised-to-the-power-of-y\/","title":{"rendered":"Flowchart for x raised to the power of y"},"content":{"rendered":"<h3>Introduction<\/h3>\n<p>In this tutorial, we will design flowchart for x raised to the power of y. Mathematically, we can denote the result as<\/p>\n<p><strong>Result = x*x &#8230; *x\u00a0 ( upto y times )<\/strong><\/p>\n<h3>Pseudocode<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/**\r\n  * NAME:www.TestingDocs.com\r\n  * DATE:\r\n  * FILE:\r\n  * COMMENTS:\r\n  *\/\r\n\r\nSTART\r\n      \/\/ declare variables\r\n      x =0;\r\n      y =0;\r\n      \r\n      Prompt = \"Enter x\";\r\n      Input x ;\r\n      Prompt = \"Enter y\";\r\n      Input y;\r\n      Print(\"x=\" + x);\r\n      Print(\"y=\" + y);\r\n      count = 1;\r\n      result = 1;\r\n      while (count &gt; y)\r\n      {\r\n         result = result * x;\r\n         count = count + 1;\r\n      }\r\n      Print(\"x^y =\" + result);\r\nEND\r\n<\/pre>\n<p>&nbsp;<\/p>\n<h3>Flowchart<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4655\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/x-power-raised-by-y.png\" alt=\"x power raised by y\" width=\"1900\" height=\"961\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/x-power-raised-by-y.png 1900w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/x-power-raised-by-y-300x152.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/x-power-raised-by-y-1024x518.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/x-power-raised-by-y-768x388.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/x-power-raised-by-y-1536x777.png 1536w\" sizes=\"auto, (max-width: 1900px) 100vw, 1900px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4659\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/x-to-y-2.png\" alt=\"power flowchart\" width=\"1920\" height=\"875\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/x-to-y-2.png 1920w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/x-to-y-2-300x137.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/x-to-y-2-1024x467.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/x-to-y-2-768x350.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/x-to-y-2-1536x700.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p><strong>Output:<\/strong><\/p>\n<p>x=2<br \/>\ny=6<br \/>\nx^y =64<\/p>\n<!--themify_builder_content-->\n<div id=\"themify_builder_content-4650\" data-postid=\"4650\" class=\"themify_builder_content themify_builder_content-4650 themify_builder tf_clear\">\n    <\/div>\n<!--\/themify_builder_content-->\n","protected":false},"excerpt":{"rendered":"<p>Introduction In this tutorial, we will design flowchart for x raised to the power of y. Mathematically, we can denote the result as Result = x*x &#8230; *x\u00a0 ( upto y times ) Pseudocode \/** * NAME:www.TestingDocs.com * DATE: * FILE: * COMMENTS: *\/ START \/\/ declare variables x =0; y =0; Prompt = &#8220;Enter [&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-4650","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\/4650","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=4650"}],"version-history":[{"count":3,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4650\/revisions"}],"predecessor-version":[{"id":19333,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4650\/revisions\/19333"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=4650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=4650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=4650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}