<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>What is while Loop Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/what-is-while-loop/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/what-is-while-loop/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Thu, 29 Jul 2021 13:59:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Tutorial for while loop</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorial-for-while-loop/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorial-for-while-loop/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Thu, 29 Jul 2021 13:59:03 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Tutorial for while loop]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[What is while Loop]]></category>
		<category><![CDATA[while loop]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7189</guid>

					<description><![CDATA[<p>What is while Loop? As long as the (while) statement&#8217;s condition evaluates to true, the (while) assertion cycles around a [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-while-loop/">Tutorial for while loop</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">What is while Loop?</h3>



<p class="wp-block-paragraph">As long as the (<strong><code><span class="has-inline-color has-vivid-red-color">while</span></code></strong>) statement&#8217;s condition evaluates to true, the (<strong><code><span class="has-inline-color has-vivid-red-color">while</span></code></strong>) assertion cycles around a block of code. They&#8217;re used to run a section of code repeatedly until the set condition is met. The while loop keeps repeating an action until an associated condition returns false.</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://www.w3resource.com/w3r_images/while-loop.gif" alt="PHP while statement - w3resource"/></figure></div>



<p class="wp-block-paragraph"><strong>Syntex:-</strong></p>



<pre class="wp-block-code"><code><span class="has-inline-color has-vivid-red-color">while (condition is true) {
  code to be executed;
}</span></code></pre>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://www.guru99.com/images/2013/04/while_loop_flowchart1.png" alt="PHP Loop and  Control Structures"/></figure></div>



<p class="wp-block-paragraph"><strong>Example1:-</strong></p>



<script src="https://gist.github.com/AdarshAshwani/0a2fd344817d535c036bb7d00abc0f7c.js"></script>



<p class="wp-block-paragraph"><strong>Output:-</strong></p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://www.devopsschool.com/blog/wp-content/uploads/2021/05/image-41.png" alt=""/></figure></div>



<p class="wp-block-paragraph"><strong>Example2:-</strong> </p>



<script src="https://gist.github.com/AdarshAshwani/b50bb1b9c22db7b7f0cfbe85831ea20f.js"></script>



<p class="wp-block-paragraph"><strong>Output:-</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://www.devopsschool.com/blog/wp-content/uploads/2021/05/image-42.png" alt=""/></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorial-for-while-loop/">Tutorial for while loop</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/tutorial-for-while-loop/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
