<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-3477027826564000192</atom:id><lastBuildDate>Fri, 01 Nov 2024 11:35:18 +0000</lastBuildDate><category>Embedded Systems - LED Programs</category><category>C - Basic Programs</category><category>C++ - Basic Programs</category><category>C Programming</category><category>C - For loop</category><category>C - If-else statement</category><category>C++ - If Else Statement</category><category>Embedded Systems Circuit</category><category>Java - Basic Programs</category><category>C++ - For loop</category><category>C - Array</category><category>Embedded Systems - Seven Segment</category><category>Programming using Notepad</category><category>Basics of Programming</category><category>C - Recursion</category><title>Zealous Coders</title><description>Coding is our life.....</description><link>http://zealcoder.blogspot.com/</link><managingEditor>noreply@blogger.com (Zealous Engineerz)</managingEditor><generator>Blogger</generator><openSearch:totalResults>53</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-996891906051498043</guid><pubDate>Sun, 24 Feb 2013 07:16:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.789+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C - Recursion</category><title>Find Factorial of number using recursion in C</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;int factorial(int n)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; if(n == 0 || n == 1)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return 1;&lt;br /&gt;&amp;nbsp; &amp;nbsp; else&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return n*factorial(n-1);&lt;br /&gt;&lt;br /&gt;int main(void)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; &amp;nbsp;int n;&lt;br /&gt;&amp;nbsp; &amp;nbsp;printf(&quot;Enter Number to Find Factorial : &quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp;scanf(&quot;%d&quot;, &amp;amp;n);&lt;br /&gt;&amp;nbsp; &amp;nbsp;printf(&quot;Factorial of %d is %d&quot;,n,factorial(n));&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;br /&gt;Sample Input and Output:-&lt;/u&gt;&lt;br /&gt;Enter Number to Find Factorial : 5&lt;br /&gt;Factorial of 5 is 120&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;This program works fine to find factorial upto 13. Although thts very small number. To find out factorial of some bigger numbers, keep updated. Will be uploaded soon.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;ca-pub-1507094125285142&quot;;
/* Surya1 */
google_ad_slot = &quot;3288479113&quot;;
google_ad_width = 728;
google_ad_height = 90;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;//pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;</description><link>http://zealcoder.blogspot.com/2013/02/find-factorial-of-number-using.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-5381312021638434937</guid><pubDate>Sun, 21 Oct 2012 19:58:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.748+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Basics of Programming</category><title>How to see a code of a program without using a dedicated software</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
From last two days, We got some queries about how to know the coding of a program as they dont have the software installed for the same right now..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The&amp;nbsp;answer&amp;nbsp;of the same question is very simple and clear.&lt;br /&gt;
&lt;br /&gt;
Actually,&lt;br /&gt;
When we code for a problem statement in any language like C, C++, Embedded C, Assembly, java, php, html, a special file of dedicated extension is created.&lt;br /&gt;
&lt;br /&gt;
like&lt;br /&gt;
for C -.c&lt;br /&gt;
for C++ - .cc or .cpp&lt;br /&gt;
for Java - .java&lt;br /&gt;
for html - .html&lt;br /&gt;
for Assembly - .asm&lt;br /&gt;
and much more...&lt;br /&gt;
&lt;br /&gt;
These special files are known as compiled files...&lt;br /&gt;
&lt;br /&gt;
in this the code for the program is present.&lt;br /&gt;
That code is known as source code.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Compiled files or source files can be opened in any editor, e.g. Notepad......&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/how-to-see-code-of-program-without.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-8111869152899142308</guid><pubDate>Mon, 01 Oct 2012 09:00:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.765+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Embedded Systems Circuit</category><title>LCD Circuit</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzPwUQKRV8-lmJcQjuBLme3OvvK6QRdahA3akOgoZjTZCkFkneWCHSHjmKeDfY9SzBvaswyCbMgiVfkiIU4jBVZZ78Y_H1OXy4LOC2MCpUcBeFM-fulY-PegTuBZjkKyetdFkvJDNSaDI/s1600/LCD.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzPwUQKRV8-lmJcQjuBLme3OvvK6QRdahA3akOgoZjTZCkFkneWCHSHjmKeDfY9SzBvaswyCbMgiVfkiIU4jBVZZ78Y_H1OXy4LOC2MCpUcBeFM-fulY-PegTuBZjkKyetdFkvJDNSaDI/s640/LCD.bmp&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/lcd-circuit.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzPwUQKRV8-lmJcQjuBLme3OvvK6QRdahA3akOgoZjTZCkFkneWCHSHjmKeDfY9SzBvaswyCbMgiVfkiIU4jBVZZ78Y_H1OXy4LOC2MCpUcBeFM-fulY-PegTuBZjkKyetdFkvJDNSaDI/s72-c/LCD.bmp" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-7744340936789905542</guid><pubDate>Mon, 01 Oct 2012 07:37:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.762+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C - If-else statement</category><title>To distinguish whether the number is alphabet, number or special character</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;int main(void)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; unsigned char a;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; printf(&quot;Enter Character : &quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; a = getche();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; if((a&amp;gt;64 &amp;amp;&amp;amp; a&amp;lt;91) || (a&amp;gt;96 &amp;amp;&amp;amp; a&amp;lt;123))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Alphabet&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; else if(a&amp;gt;47 &amp;amp;&amp;amp; a&amp;lt;58)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Number&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;Special Character&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; return 0;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/to-distinguish-whether-number-is.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-6993010709142675841</guid><pubDate>Mon, 01 Oct 2012 07:36:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.760+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C++ - If Else Statement</category><title>C++ - To distinguish whether the character is a alphabet or Number or special character.</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;int main(void)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; unsigned char a;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Enter Character : &quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; a = getche();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; if((a&amp;gt;64 &amp;amp;&amp;amp; a&amp;lt;91) || (a&amp;gt;96 &amp;amp;&amp;amp; a&amp;lt;123))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Alphabet&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; else if(a&amp;gt;47 &amp;amp;&amp;amp; a&amp;lt;58)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Number&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Special Character&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; return 0;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/c-to-distinguish-whether-character-is.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-4133001497467524142</guid><pubDate>Mon, 01 Oct 2012 07:31:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.743+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C++ - For loop</category><title>C++ - To Print first 100 natural numbers</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;int main(void)&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;&amp;nbsp;  &lt;/span&gt;int i;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;&amp;nbsp;  cout&amp;lt;&amp;lt;&lt;/span&gt;&quot;First 100 natural numbers are : \t&quot;;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;for(i=1; i&amp;lt;=100; i++)&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span style=&quot;font-family: arial, times New Roman, helvetica;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;i&amp;lt;&amp;lt;&quot;,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;\t&quot;;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;getch();&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;return 0;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/c-to-print-first-100-natural-numbers.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-8640908291566684593</guid><pubDate>Mon, 01 Oct 2012 07:28:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.778+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C++ - For loop</category><category domain="http://www.blogger.com/atom/ns#">C++ - If Else Statement</category><title>C++ - To print first 100 even numbers</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;int main(void)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;&amp;nbsp;  &lt;/span&gt;int i;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;&amp;nbsp;  cout&amp;lt;&amp;lt;&lt;/span&gt;&quot;First 100 natural even numbers are : \t&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;for(i=1; i&amp;lt;200; i++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if(i%2==0)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;background-color: white; white-space: pre;&quot;&gt;         &lt;/span&gt;cout&lt;span style=&quot;background-color: white;&quot;&gt;&amp;lt;&amp;lt;i&amp;lt;&amp;lt;&quot;\t&quot;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;getch();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;return 0;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/c-to-print-first-10-even-numbers.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-3049625512700839053</guid><pubDate>Mon, 01 Oct 2012 07:27:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.731+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C++ - For loop</category><category domain="http://www.blogger.com/atom/ns#">C++ - If Else Statement</category><title>C++ - To print 100 odd numbers</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;int main(void)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;&amp;nbsp;  &lt;/span&gt;int i;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;clrscr();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;&amp;nbsp;  &lt;/span&gt;cout&amp;lt;&amp;lt;&quot;First 100 natural odd numbers are : \t&quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;for(i=1; i&amp;lt;200; i++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if(i%2==1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;background-color: white; white-space: pre;&quot;&gt;         &lt;/span&gt;cout&amp;lt;&amp;lt;i&amp;lt;&amp;lt;&quot;&lt;span style=&quot;background-color: white;&quot;&gt;\t&quot;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;getch();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;return 0;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/c-to-print-100-odd-numbers.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-903181745548229256</guid><pubDate>Mon, 01 Oct 2012 07:25:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.785+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C++ - If Else Statement</category><title>C++ - Greatest number among two variables</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;int main(void)&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;int x,y,z;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\nEnter First Number : &quot;;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cin&amp;gt;&amp;gt;x;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\nEnter Second Number : &quot;;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cin&amp;gt;&amp;gt;y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;if(x&amp;gt;y)&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;x&amp;lt;&amp;lt;&quot; is greater than &quot;&amp;lt;&amp;lt;y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;else if(y&amp;gt;x)&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;y&amp;lt;&amp;lt;&quot; is greater than &quot;&amp;lt;&amp;lt;x;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;else&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;Both Numbers are equal&quot;;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;return 0;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/c-greatest-number-among-two-variables.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-6095236225466435554</guid><pubDate>Mon, 01 Oct 2012 07:21:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.751+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C++ - Basic Programs</category><title>Familiarization with various data types of C++</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;int main(void)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\nLower bound of char is &quot;&amp;lt;&amp;lt;CHAR_MIN;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\nUpper Bound of char is &quot;&amp;lt;&amp;lt;CHAR_MAX;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&lt;span style=&quot;background-color: white;&quot;&gt;&quot;\nLower bound of int is &quot;&amp;lt;&amp;lt;INT_MIN;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\nUpper Bound of int is &quot;&amp;lt;&amp;lt;INT_MAX;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&lt;span style=&quot;background-color: white;&quot;&gt;&quot;\nLower bound of long is &quot;&amp;lt;&amp;lt;LONG_MIN;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\nUpper Bound of long is &quot;&amp;lt;&amp;lt;LONG_MAX;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&quot;\nLower bound of unsigned char is &quot;&amp;lt;&amp;lt;UCHAR_MIN;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\nUpper Bound of unsigned char is &quot;&amp;lt;&amp;lt;UCHAR_MAX;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&lt;span style=&quot;background-color: white;&quot;&gt;&quot;\nLower bound of unsigned int is &quot;&amp;lt;&amp;lt;UINT_MIN;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\nUpper Bound of unsigned int is &quot;&amp;lt;&amp;lt;UNIT_MAX;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&quot;\nLower bound of unsigned long is &quot;&amp;lt;&amp;lt;ULONG_MIN;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\nUpper Bound of unsigned long is &quot;&amp;lt;&amp;lt;ULONG_MAX;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;getch();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;return 0;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/blog-post.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-934360250858100256</guid><pubDate>Mon, 01 Oct 2012 07:18:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.787+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C++ - Basic Programs</category><title>C++ - Swap two numbers using three variables</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;int main(void)&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;int x,y,z;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\nEnter First Number : &quot;;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cin&amp;gt;&amp;gt;x;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\nEnter Second Number : &quot;;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cin&amp;gt;&amp;gt;y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;z=x;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;x=y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;y=z;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\n\nAfter Swapping\n&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;\nFirst Number : &quot;&amp;lt;&amp;lt;x&amp;lt;&amp;lt;&quot;\nSecond Number : &quot;&amp;lt;&amp;lt;y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;return 0;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/c-swap-two-numbers-using-three-variables.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-1374062971747853594</guid><pubDate>Mon, 01 Oct 2012 07:16:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.721+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C++ - Basic Programs</category><title>C++ - Swap number using two variable using bit-wise operators  </title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;int main(void)&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;int x,y,z;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\nEnter First Number : &quot;;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cin&amp;gt;&amp;gt;x;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\nEnter Second Number : &quot;;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cin&amp;gt;&amp;gt;y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;x^=y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;y^=x;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;x^=y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\n\nAfter Swapping\n\n&lt;/span&gt;First Number :&amp;nbsp;&quot;&amp;lt;&amp;lt;x&amp;lt;&amp;lt;&quot;\nSecond Number : &quot;&amp;lt;&amp;lt;y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;return 0;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/c-swap-number-using-two-variable-using.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-867035660309913053</guid><pubDate>Mon, 01 Oct 2012 07:14:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.780+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C++ - Basic Programs</category><title>C++ - Swap number using two variables using arithmetic oprator  </title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;int main(void)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;int x,y,z;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\nEnter First Number : &quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cin&amp;gt;&amp;gt;x;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\nEnter Second Number : &quot;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cin&amp;gt;&amp;gt;y;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;x=x+y;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;y=x-y;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;x=x-y;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;\n\nAfter Swapping\n&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;\nFirst Number : &quot;&amp;lt;&amp;lt;x&amp;lt;&amp;lt;&quot;\nSecond Number : &quot;&amp;lt;&amp;lt;y;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;return 0;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/c-swap-number-using-two-variables-using.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-8783331484273190304</guid><pubDate>Mon, 01 Oct 2012 07:11:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.782+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C++ - Basic Programs</category><title>C++ - To multiply two numbers</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;int main(void)&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;int x;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;int y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;int res;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;Enter X : &quot;;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cin&amp;gt;&amp;gt;x;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;Enter Y : &quot;;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cin&amp;gt;&amp;gt;y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;res=x*y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;X * Y = &quot;&amp;lt;&amp;lt;res&amp;lt;&amp;lt;&quot; where X = &quot;&amp;lt;&amp;lt;x&amp;lt;&amp;lt;&quot; and Y = &quot;&amp;lt;&amp;lt;y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;getch();&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;return 0;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/c-to-multiply-two-numbers.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-215979270604336001</guid><pubDate>Mon, 01 Oct 2012 07:10:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.724+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">C++ - Basic Programs</category><title>C++ - To add two numbers</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;iostream.h&amp;gt;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;int main(void)&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;{&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;int x;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;int y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;int res;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;Enter X : &quot;;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cin&amp;gt;&amp;gt;x;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;Enter Y : &quot;;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cin&amp;gt;&amp;gt;y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;res=x+y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;cout&amp;lt;&amp;lt;&quot;X + Y = &quot;&amp;lt;&amp;lt;res&amp;lt;&amp;lt;&quot; where X = &quot;&amp;lt;&amp;lt;x&amp;lt;&amp;lt;&quot; and Y = &quot;&amp;lt;&amp;lt;y;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;getch();&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;&amp;nbsp; &amp;nbsp;return 0;&lt;/span&gt;&lt;br style=&quot;color: #333333; font-family: arial, &#39;times New Roman&#39;, helvetica; font-size: 14px; line-height: 22.383333206176758px;&quot; /&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 22.383333206176758px;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/c-to-add-two-numbers.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-3233662781177133180</guid><pubDate>Mon, 01 Oct 2012 06:46:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.734+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Embedded Systems - Seven Segment</category><title>Double Seven Segment</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Refer&amp;nbsp;&lt;a href=&quot;http://zealcoder.blogspot.com/2012/10/double-segment.html&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Double Seven Segment Circuit&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;reg51.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;intrins.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void ms_delay(unsigned int a)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;unsigned char b=255;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for(;a--&amp;gt;0;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for(;b--&amp;gt;0;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;_nop_();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;unsigned &amp;nbsp;char x,y,j,i,a[10]= {0xc0, 0xf9, 0xa4, 0xb0, 0x99, &lt;br /&gt;&amp;nbsp;0x92, 0x82, 0xf8, 0x80, 0x90};&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;while(1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; for(i=0;i&amp;lt;99;i++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;x=i%10;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;y=i/10;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;for(j=0;j&amp;lt;60;j++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; t2=1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; t1=0;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; P2=a[x];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; ms_delay(10);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; t2=0;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; t1=1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; P2=a[y];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; ms_delay(10);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/double-seven-segment.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-61617427649717752</guid><pubDate>Mon, 01 Oct 2012 06:42:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.753+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Embedded Systems Circuit</category><title>Double Segment</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrHTuydXKLfrJ4MxXZSYexkRtKJrjaSoaxeW4yK6UJVzIv8ZTLxdR-8FwO29xTeSqfriDzzK7v2_OlWfcBN5CZK315FGsg0wnjEwTt6ViPEuCLGgj_Qu7nt_KyMexttqQLMP988v5xzZ8/s1600/Double+Segment.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;520&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrHTuydXKLfrJ4MxXZSYexkRtKJrjaSoaxeW4yK6UJVzIv8ZTLxdR-8FwO29xTeSqfriDzzK7v2_OlWfcBN5CZK315FGsg0wnjEwTt6ViPEuCLGgj_Qu7nt_KyMexttqQLMP988v5xzZ8/s640/Double+Segment.bmp&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/double-segment.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrHTuydXKLfrJ4MxXZSYexkRtKJrjaSoaxeW4yK6UJVzIv8ZTLxdR-8FwO29xTeSqfriDzzK7v2_OlWfcBN5CZK315FGsg0wnjEwTt6ViPEuCLGgj_Qu7nt_KyMexttqQLMP988v5xzZ8/s72-c/Double+Segment.bmp" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-4487253125555794001</guid><pubDate>Mon, 01 Oct 2012 06:28:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.746+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Embedded Systems Circuit</category><title>Seven Segment</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIpEx8nLj78fLYab3L-OjV59xNJ1VrDtpKK1SCdI6mUUkjopAwbdPW8oqwYMndVxOmic0wUSfdKAxhaglBgE1DhKio-hDkAqT7S2q0AlSu2oEzrfIFBimWFpGL7vD645SqNa9-JnIk6G4/s1600/Seven+Segment.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIpEx8nLj78fLYab3L-OjV59xNJ1VrDtpKK1SCdI6mUUkjopAwbdPW8oqwYMndVxOmic0wUSfdKAxhaglBgE1DhKio-hDkAqT7S2q0AlSu2oEzrfIFBimWFpGL7vD645SqNa9-JnIk6G4/s640/Seven+Segment.bmp&quot; width=&quot;630&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/seven-segment.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIpEx8nLj78fLYab3L-OjV59xNJ1VrDtpKK1SCdI6mUUkjopAwbdPW8oqwYMndVxOmic0wUSfdKAxhaglBgE1DhKio-hDkAqT7S2q0AlSu2oEzrfIFBimWFpGL7vD645SqNa9-JnIk6G4/s72-c/Seven+Segment.bmp" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-380841459365383467</guid><pubDate>Mon, 01 Oct 2012 06:25:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.740+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Embedded Systems - Seven Segment</category><title>Basic 7-Seg</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Refer&amp;nbsp;&lt;a href=&quot;http://zealcoder.blogspot.com/2012/10/seven-segment.html&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Seven Segment Segment Circuit&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;reg51.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;intrins.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void ms_delay(unsigned int a)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;unsigned char b=255;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for(;a--&amp;gt;0;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for(;b--&amp;gt;0;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;_nop_();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;while(1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; unsigned &amp;nbsp;char i,a[10] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, &lt;br /&gt;&amp;nbsp; 0x82, 0xf8, 0x80, 0x90};&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;for(i=0;i&amp;lt;10;i++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;P1=a[i];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;ms_delay(500);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; }&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/basic-7-seg.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-217839729339105015</guid><pubDate>Mon, 01 Oct 2012 06:17:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.727+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Embedded Systems - LED Programs</category><title>LED X Pattern Special</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Refer &#39;LED Basic Circuit&#39; in &#39;Embedded Systems Circuits&#39; Label&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;reg51.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;intrins.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void ms_delay(unsigned int a)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;unsigned char b=255;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for(;a--&amp;gt;0;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for(;b--&amp;gt;0;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;_nop_();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void main()&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;unsigned char i,a,b,c;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;while(1)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; a=0x01;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; b=0x80;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; for(i=0;i&amp;lt;8;i++)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;c=a^b;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;c=~c;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;P1=c;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;a=a&amp;lt;&amp;lt;1;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;b=b&amp;gt;&amp;gt;1;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;ms_delay(500);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; }&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/led-x-pattern-special.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-8546627396649159650</guid><pubDate>Mon, 01 Oct 2012 06:13:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.771+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Embedded Systems - LED Programs</category><title>LED X patern</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Refer &#39;LED Basic Circuit&#39; in &#39;Embedded Systems Circuits&#39; Label&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;reg51.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;intrins.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void ms_delay(unsigned int a)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;unsigned char b=255;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for(;a--&amp;gt;0;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for(;b--&amp;gt;0;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;_nop_();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;unsigned char i,a,b,c;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;while(1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; a=0xfe;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; b=0x7f;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; for(i=0;i&amp;lt;8;i++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;c=a^b;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;c=~c;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;P1=c;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;a=a&amp;lt;&amp;lt;1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;b=b&amp;gt;&amp;gt;1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;ms_delay(500);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; }&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/led-x-patern.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-8292951247390319533</guid><pubDate>Mon, 01 Oct 2012 06:10:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.767+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Embedded Systems - LED Programs</category><title>LED Sand Tough Pattern</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Refer &#39;LED Basic Circuit&#39; in &#39;Embedded Systems Circuits&#39; Label&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;reg51.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;intrins.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void ms_delay(unsigned int a)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;unsigned char b=255;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for(;a--&amp;gt;0;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for(;b--&amp;gt;0;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;_nop_();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;unsigned char i,a,s,b,j,c;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;while(1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; a=0xff;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; b=0;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; for(i=0;i&amp;lt;8;i++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;c=0xfe;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;for(j=0;j&amp;lt;(8-b);j++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; P1=c&amp;amp;(a&amp;gt;&amp;gt;b);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; c=c&amp;lt;&amp;lt;1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; c=c+0x01;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; ms_delay(500);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;b++;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; if(P1==0X00)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;a=0xff;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;b=0;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;for(i=0;i&amp;lt;8;i++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; c=0x01;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; for(j=0;j&amp;lt;(8-b);j++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;s=c^(a&amp;gt;&amp;gt;b);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;P1=~s;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;c=c&amp;lt;&amp;lt;1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ms_delay(500);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; b++;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/led-sand-tough-pattern.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-6237115956543961196</guid><pubDate>Mon, 01 Oct 2012 06:03:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.755+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Embedded Systems - LED Programs</category><title>LED Sand Glass Pattern</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
Refer &#39;LED Basic Circuit&#39; in &#39;Embedded Systems Circuits&#39; Label&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;reg51.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;intrins.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void ms_delay(unsigned int a)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;unsigned char b=255;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for(;a--&amp;gt;0;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for(;b--&amp;gt;0;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;_nop_();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;unsigned char i,a,b,j,c;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;while(1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; a=0xff;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; b=0;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; for(i=0;i&amp;lt;8;i++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;c=0xfe;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;for(j=0;j&amp;lt;(8-b);j++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; P1=c&amp;amp;(a&amp;gt;&amp;gt;b);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; c=c&amp;lt;&amp;lt;1;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; c=c+0x01;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; &amp;nbsp; ms_delay(500);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;b++;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;}&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/led-sand-glass-pattern.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-3421254949607405243</guid><pubDate>Mon, 01 Oct 2012 05:57:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.737+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Embedded Systems - LED Programs</category><title>LED Left Shift Increment</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Refer &#39;LED Basic Circuit&#39; in &#39;Embedded Systems Circuits&#39; Label&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;reg51.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;intrins.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void ms_delay(unsigned int a)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;unsigned char b=255;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for(;a--&amp;gt;0;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for(;b--&amp;gt;0;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;_nop_();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;unsigned char i,a;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;while(1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; a=0xff;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for(i=0;i&amp;lt;8;i++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;a=a&amp;lt;&amp;lt;1;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;// left Shift Operator&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;P1=a;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ms_delay(500);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/led-left-shift-increment.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3477027826564000192.post-6855103975534654171</guid><pubDate>Mon, 01 Oct 2012 05:57:00 +0000</pubDate><atom:updated>2016-07-04T21:56:57.757+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Embedded Systems - LED Programs</category><title>LED Right Shift Increment</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Refer &#39;LED Basic Circuit&#39; in &#39;Embedded Systems Circuits&#39; Label&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;reg51.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#include&amp;lt;intrins.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void ms_delay(unsigned int a)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;unsigned char b=255;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;for(;a--&amp;gt;0;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;for(;b--&amp;gt;0;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;_nop_();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;void main()&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;unsigned char i,a;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;while(1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; a=0xff;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; for(i=0;i&amp;lt;8;i++)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;a=a&amp;gt;&amp;gt;1; &amp;nbsp; &amp;nbsp; &amp;nbsp;// right shift operator&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;P1=a;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; &amp;nbsp;ms_delay(500);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp; }&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://zealcoder.blogspot.com/2012/10/led-right-shift-increment.html</link><author>noreply@blogger.com (Zealous Engineerz)</author><thr:total>0</thr:total></item></channel></rss>