<?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>condition statement Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/condition-statement/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/condition-statement/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 13 Apr 2022 16:30:48 +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>What is the use of break and continue?</title>
		<link>https://www.scmgalaxy.com/tutorials/what-is-the-use-of-break-and-continue/</link>
					<comments>https://www.scmgalaxy.com/tutorials/what-is-the-use-of-break-and-continue/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Thu, 29 Jul 2021 14:04:54 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[condition statement]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[loop]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7191</guid>

					<description><![CDATA[<p>Break Statement Break Statement – This statement is used to &#8220;jumps out&#8221; of a loop. The break statement breaks the [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-the-use-of-break-and-continue/">What is the use of break and continue?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading"><strong>Break Statement</strong></h2>



<p class="wp-block-paragraph"><strong>Break Statement – </strong>This statement is used to &#8220;jumps out&#8221; of a loop. The break statement breaks the loop and continues executing the code after the loop (if any).</p>



<h2 class="wp-block-heading">Continue Statement</h2>



<p class="wp-block-paragraph"><strong>Continue Statement –</strong> This statement is used to &#8220;jumps over&#8221; one iteration in the loop. The continue statement breaks one iteration (in the loop) if a specified condition occurs and continues with the next iteration in the loop.</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="400" height="160" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/Break-and-continue.jpg" alt="" class="wp-image-7194" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/Break-and-continue.jpg 400w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/07/Break-and-continue-300x120.jpg 300w" sizes="(max-width: 400px) 100vw, 400px" /></figure>



<h2 class="wp-block-heading">Escape Sequences</h2>



<figure class="wp-block-table"><table><tbody><tr><td class="has-text-align-center" data-align="center"><strong>Character Constant</strong></td><td class="has-text-align-center" data-align="center"><strong>Meaning</strong></td></tr><tr><td class="has-text-align-center" data-align="center">\b</td><td class="has-text-align-center" data-align="center">Backspace</td></tr><tr><td class="has-text-align-center" data-align="center">\f</td><td class="has-text-align-center" data-align="center">Form feed</td></tr><tr><td class="has-text-align-center" data-align="center">\n</td><td class="has-text-align-center" data-align="center">Move to new line</td></tr><tr><td class="has-text-align-center" data-align="center">\r</td><td class="has-text-align-center" data-align="center">Carriage return (Enter)</td></tr><tr><td class="has-text-align-center" data-align="center">\t</td><td class="has-text-align-center" data-align="center">Horizontal Tab</td></tr><tr><td class="has-text-align-center" data-align="center">\v</td><td class="has-text-align-center" data-align="center">Vertical Tab</td></tr><tr><td class="has-text-align-center" data-align="center">\\</td><td class="has-text-align-center" data-align="center">Print back slash</td></tr><tr><td class="has-text-align-center" data-align="center">\?</td><td class="has-text-align-center" data-align="center">Print question mark</td></tr><tr><td class="has-text-align-center" data-align="center">\‟</td><td class="has-text-align-center" data-align="center">Print single quote</td></tr><tr><td class="has-text-align-center" data-align="center">\”</td><td class="has-text-align-center" data-align="center">Print double quote</td></tr><tr><td class="has-text-align-center" data-align="center">\0</td><td class="has-text-align-center" data-align="center">Null character</td></tr></tbody></table></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-the-use-of-break-and-continue/">What is the use of break and continue?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/what-is-the-use-of-break-and-continue/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the IF statement And Switch Statement in JavaScript?</title>
		<link>https://www.scmgalaxy.com/tutorials/what-is-the-if-statement-and-switch-statement-in-javascript/</link>
					<comments>https://www.scmgalaxy.com/tutorials/what-is-the-if-statement-and-switch-statement-in-javascript/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Wed, 28 Jul 2021 12:24:40 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[condition statement]]></category>
		<category><![CDATA[If statement]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP Operators]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7143</guid>

					<description><![CDATA[<p>If Statement It is used to execute an instruction or block of instructions only if a condition is fulfilled. Syntax: [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-the-if-statement-and-switch-statement-in-javascript/">What is the IF statement And Switch Statement in JavaScript?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">If Statement</h2>



<p class="wp-block-paragraph">It is used to execute an instruction or block of instructions only if a condition is fulfilled.</p>



<p class="wp-block-paragraph">Syntax: &#8211;  </p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
if (condition)
      {
           block of statements;
      }
</pre></div>


<h2 class="wp-block-heading">If statement with logical operator</h2>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
if ( (condition1) &amp;amp;&amp;amp; (condition2) )
     {
        block of statements;
     }

</pre></div>


<h2 class="wp-block-heading">If else Statement</h2>



<p class="wp-block-paragraph">if… else statement is used when a different sequence of instructions is to be executed depending<br>on the logical value(True/False) of the condition evaluated.</p>



<p class="wp-block-paragraph">Syntax: &#8211;</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
if(condition)
   {
     Statement_1_Block;
   }
else
   {
     Statement_2_Block;
   }
   Statement_3;
</pre></div>


<h2 class="wp-block-heading">Else If Statement</h2>



<p class="wp-block-paragraph">To show a multi-way decision based on several conditions, we use else if statement.</p>



<p class="wp-block-paragraph">Syntax: &#8211;</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
If(condition_1)
   {
     statements_1_Block;
   }
else if(condition_2)
   {
     statement_2_Blocks;
   }
else if(condition_n)
   {
     Statements_n_Block;
   }
else
 statements_x;
</pre></div>


<h2 class="wp-block-heading">Switch Statement</h2>



<p class="wp-block-paragraph">Check several possible constant values for an expression.</p>



<p class="wp-block-paragraph">Syntax: &#8211;</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
switch(expression){
      case expression 1:
            block of statements 1;
            break;
      case expression2;:
            block of statements 2;
            break;
            .
            .
      default:
            default block of instructions;
      }

</pre></div>


<p class="wp-block-paragraph">All the cases will be evaluated if you don&#8217;t use a break statement.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
switch(expression){
            case expression 1:
                 block of statements 1;
                 break;
            case expression 2:
            case expression 3:
                 block of statements 2;
                 break;
            default:
                 default block of instructions;
            }
</pre></div>


<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-the-if-statement-and-switch-statement-in-javascript/">What is the IF statement And Switch Statement in JavaScript?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/what-is-the-if-statement-and-switch-statement-in-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tutorials for PHP Conditioning</title>
		<link>https://www.scmgalaxy.com/tutorials/tutorials-for-php-conditioning/</link>
					<comments>https://www.scmgalaxy.com/tutorials/tutorials-for-php-conditioning/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Tue, 27 Jul 2021 13:29:50 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[condition statement]]></category>
		<category><![CDATA[conditional statements]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php condition statement]]></category>
		<category><![CDATA[Php conditional statements]]></category>
		<category><![CDATA[PHP Conditioning]]></category>
		<category><![CDATA[types of conditional statements]]></category>
		<category><![CDATA[What are the types of conditional statements]]></category>
		<category><![CDATA[What is PHP Conditioning]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7113</guid>

					<description><![CDATA[<p>What is PHP Conditioning? PHP, like other programming languages, allows you to build code that executes multiple behaviors based on [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorials-for-php-conditioning/">Tutorials for PHP Conditioning</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 PHP Conditioning?</h3>



<p class="wp-block-paragraph">PHP, like other programming languages, allows you to build code that executes multiple behaviors based on the results of logical or equivalent testing conditions. This presupposes that test conditions may be written in terms of expressions that evaluate <code><span class="has-inline-color has-vivid-red-color"><strong>true </strong></span></code>or <code><span class="has-inline-color has-vivid-red-color"><strong>false</strong></span></code>, and that actions can be carried out based on the results.</p>



<p class="wp-block-paragraph">PHP allows programmers to assess numerous situations and determine whether they are true or false during the programming process.</p>



<p class="wp-block-paragraph">A conditional statement is a programming structure that conveys these circumstances and their associated behavior.</p>



<h3 class="wp-block-heading">What are the types of conditional statements?</h3>



<p class="wp-block-paragraph">If the test condition is not used, PHP is used. There are several ways to use a sentence in PHP.</p>



<ul class="wp-block-list"><li>The&nbsp;<strong>if</strong>&nbsp;statement</li><li>The&nbsp;<strong>if…else</strong>&nbsp;statement</li><li>The&nbsp;<strong>if…elseif….else</strong>&nbsp;statement</li><li>The&nbsp;<strong>switch…case</strong>&nbsp;statement</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://image.slidesharecdn.com/002phpconditionalstatementfinal-130822161707-phpapp02/95/conditional-statementfinal-php-02-8-638.jpg?cb=1386681842" alt="Conditional Statementfinal PHP 02"/></figure></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/tutorials-for-php-conditioning/">Tutorials for PHP Conditioning</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/tutorials-for-php-conditioning/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
