<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='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'><id>tag:blogger.com,1999:blog-6739582449781716355</id><updated>2024-12-18T19:27:34.542-08:00</updated><category term="Basic"/><category term="C programming"/><category term="Stating algorithms using Flowchart Explained easy way"/><category term="Character set of C (For noob)"/><category term="Compiler vs Interpreter )"/><category term="Example of flowchart"/><category term="Examples with solution of step-form"/><category term="Introduction to C"/><category term="Low-level"/><category term="PROGRAMMING LANGUAGE (High-level"/><category term="Stating algorithms using Step-form"/><category term="Type of computer software."/><category term="What Is Programming Language In Simple Words?"/><category term="What is tokens in C language"/><category term="Why should learn a programming language (Coding)?"/><category term="datatype in C language"/><title type='text'>Code Is Interest</title><subtitle type='html'>code Is Interest is teaching about programming language (basic to advance) like c. </subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://codeisinterest.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://codeisinterest.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Coding Is Interesting !!</name><uri>http://www.blogger.com/profile/05283200021726666258</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6739582449781716355.post-5519870583925629787</id><published>2021-04-14T08:51:00.004-07:00</published><updated>2021-04-14T08:52:15.416-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C programming"/><category scheme="http://www.blogger.com/atom/ns#" term="datatype in C language"/><title type='text'> What is datatype in C language - Code Is Interest</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Datatypes is a data storage format that can contain a specific type or range of values. The kind of data that variables may hold in a programming language are called as data types.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;There are three data types in C language. They are,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Primary Data Type&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Enumeration Data Type&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Derived Data Type&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&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/AVvXsEilBs_Kl0yMyjrHiExHcdp6mR9c1KXvyOANEc2wnfdqYJl_QADT1MBQZ3RuBfDh_K7YTolE9F_r-FYOHfxu0YefDjsHmgutrGSBaxX4iiKwARm9AOnmTLxZDXnySNWoUchAyButqobjSTFp/s1018/primary+datatype.webp&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;492&quot; data-original-width=&quot;1018&quot; height=&quot;310&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilBs_Kl0yMyjrHiExHcdp6mR9c1KXvyOANEc2wnfdqYJl_QADT1MBQZ3RuBfDh_K7YTolE9F_r-FYOHfxu0YefDjsHmgutrGSBaxX4iiKwARm9AOnmTLxZDXnySNWoUchAyButqobjSTFp/w640-h310/primary+datatype.webp&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Character Data Type&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Character data type allows a variable to store only one character.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Storage size of character data type is 1. We can store only one character using character data type.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;“char” keyword is used to refer character data type.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Character data type&amp;nbsp; is a special integer type designed for storing single characters. The integer value of a char corresponds to an ASCII character. E.g., a value of 65 corresponds to the letter A, 66 corresponds to B, 67 to C, and so on.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;As in the table below, unsigned char permits values from 0 to 255, and signed char permits values from -128 to 127. The char type is signed by default on some computers, but unsigned on others. The sizes of the char types are as follows.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;Size and range of Char data type&lt;/h4&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;&lt;tr&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;177&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;189&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;Bytes&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 92.1pt;&quot; valign=&quot;top&quot; width=&quot;154&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;Minimal range&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;177&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;char &amp;nbsp;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;189&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;1&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 92.1pt;&quot; valign=&quot;top&quot; width=&quot;154&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;-128 to 127&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;177&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;unsigned
  char&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;189&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;1&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 92.1pt;&quot; valign=&quot;top&quot; width=&quot;154&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;0 to 255&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 106.1pt;&quot; valign=&quot;top&quot; width=&quot;177&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;signed
  char&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
  &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 4.0cm;&quot; valign=&quot;top&quot; width=&quot;189&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;1&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 92.1pt;&quot; valign=&quot;top&quot; width=&quot;154&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;-128 to 127&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Integer Data Type&lt;/h3&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;An integer is a whole number (a number without a fractional part). It can be&amp;nbsp; positive or negative numbers like 1, -2, 3, etc., or zero. The sizes of the integer variables depend on the hardware and operating system of the computer.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Integer data type allows a variable to store numeric values.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;“int” keyword is used to refer integer data type.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;The storage size of int data type is 2 or 4 or 8 byte.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;h4&gt;Size and range of Int data type&lt;/h4&gt;&lt;/div&gt;&lt;div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;&lt;tr style=&quot;height: 16.75pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; height: 16.75pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 133.8pt;&quot; valign=&quot;top&quot; width=&quot;223&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; height: 16.75pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 143.05pt;&quot; valign=&quot;top&quot; width=&quot;238&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;Size(bytes)&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; height: 16.75pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 116.15pt;&quot; valign=&quot;top&quot; width=&quot;194&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;Range&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;height: 16.75pt; mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 16.75pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 133.8pt;&quot; valign=&quot;top&quot; width=&quot;223&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;int or signed int&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 16.75pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 143.05pt;&quot; valign=&quot;top&quot; width=&quot;238&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;4&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 16.75pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 116.15pt;&quot; valign=&quot;top&quot; width=&quot;194&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;-32,768 to 32767&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;height: 17.5pt; mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 17.5pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 133.8pt;&quot; valign=&quot;top&quot; width=&quot;223&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;unsigned int&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 17.5pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 143.05pt;&quot; valign=&quot;top&quot; width=&quot;238&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;4&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 17.5pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 116.15pt;&quot; valign=&quot;top&quot; width=&quot;194&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;0 to 65535&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;height: 33.5pt; mso-yfti-irow: 3;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 33.5pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 133.8pt;&quot; valign=&quot;top&quot; width=&quot;223&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;short int or signed short int&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 33.5pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 143.05pt;&quot; valign=&quot;top&quot; width=&quot;238&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;2&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 33.5pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 116.15pt;&quot; valign=&quot;top&quot; width=&quot;194&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;-32768 to 32767&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;height: 33.5pt; mso-yfti-irow: 4;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 33.5pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 133.8pt;&quot; valign=&quot;top&quot; width=&quot;223&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;unsigned short int&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 33.5pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 143.05pt;&quot; valign=&quot;top&quot; width=&quot;238&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;2&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 33.5pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 116.15pt;&quot; valign=&quot;top&quot; width=&quot;194&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;0 to 65535&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;height: 33.5pt; mso-yfti-irow: 5;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 33.5pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 133.8pt;&quot; valign=&quot;top&quot; width=&quot;223&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;long int or signed long int&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 33.5pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 143.05pt;&quot; valign=&quot;top&quot; width=&quot;238&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;4&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 33.5pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 116.15pt;&quot; valign=&quot;top&quot; width=&quot;194&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;-2,147,483,648 to 2,147,483,647&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;height: 33.5pt; mso-yfti-irow: 6; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; height: 33.5pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 133.8pt;&quot; valign=&quot;top&quot; width=&quot;223&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;unsigned long int&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 33.5pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 143.05pt;&quot; valign=&quot;top&quot; width=&quot;238&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;4&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; height: 33.5pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 116.15pt;&quot; valign=&quot;top&quot; width=&quot;194&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;0 to 4,294,967,295&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Float Data Type&lt;/h3&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Floating point data type consists of 2 types. They are,&lt;/li&gt;&lt;/ul&gt;float&lt;br /&gt;double&lt;br /&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Float data type allows a variable to store decimal values.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Storage size of float data type is 4. This also varies depend upon the processor in the CPU as “int” data type.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;We can use up-to 6 digits after decimal using float data type.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;For example, 10.456789 can be stored in a variable using float data type.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Double data type is also same as float data type which allows up-to 10 digits after decimal.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;“float” or “double” keyword is used to refer floating data type&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;h4&gt;Size and range of Float data type&lt;br /&gt;&lt;br /&gt;&lt;/h4&gt;&lt;/div&gt;&lt;div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;&quot;&gt;
 &lt;tbody&gt;&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 155.8pt;&quot; valign=&quot;top&quot; width=&quot;260&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 99.1pt;&quot; valign=&quot;top&quot; width=&quot;165&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;Size(bytes)&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 155.95pt;&quot; valign=&quot;top&quot; width=&quot;260&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;Range&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 155.8pt;&quot; valign=&quot;top&quot; width=&quot;260&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;Float&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 99.1pt;&quot; valign=&quot;top&quot; width=&quot;165&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;4&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 155.95pt;&quot; valign=&quot;top&quot; width=&quot;260&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;3.4E-38 to 3.4E+38&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 155.8pt;&quot; valign=&quot;top&quot; width=&quot;260&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;double&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 99.1pt;&quot; valign=&quot;top&quot; width=&quot;165&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;8&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 155.95pt;&quot; valign=&quot;top&quot; width=&quot;260&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;1.7E-308 to 1.7E+308&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style=&quot;mso-yfti-irow: 3; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 155.8pt;&quot; valign=&quot;top&quot; width=&quot;260&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;long double&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 99.1pt;&quot; valign=&quot;top&quot; width=&quot;165&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;10&lt;/p&gt;
  &lt;/td&gt;
  &lt;td style=&quot;border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 155.95pt;&quot; valign=&quot;top&quot; width=&quot;260&quot;&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;3.4E-4932 to 1.1E+4932&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
  &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;/p&gt;
  &lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;Void Data Type&lt;/h3&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;void type means no value. This is usually used to specify the type of functions which returns nothing. We will get acquainted to this datatype as we start learning more advanced topics in C language, like functions, pointers etc.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://codeisinterest.blogspot.com/feeds/5519870583925629787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/what-is-datatype-in-c-language-code-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/5519870583925629787'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/5519870583925629787'/><link rel='alternate' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/what-is-datatype-in-c-language-code-is.html' title=' What is datatype in C language - Code Is Interest'/><author><name>Coding Is Interesting !!</name><uri>http://www.blogger.com/profile/05283200021726666258</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilBs_Kl0yMyjrHiExHcdp6mR9c1KXvyOANEc2wnfdqYJl_QADT1MBQZ3RuBfDh_K7YTolE9F_r-FYOHfxu0YefDjsHmgutrGSBaxX4iiKwARm9AOnmTLxZDXnySNWoUchAyButqobjSTFp/s72-w640-h310-c/primary+datatype.webp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6739582449781716355.post-8081916501563639390</id><published>2021-04-12T21:27:00.008-07:00</published><updated>2021-04-13T22:15:33.712-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C programming"/><category scheme="http://www.blogger.com/atom/ns#" term="What is tokens in C language"/><title type='text'> What is tokens in C language - Code Is Interest</title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;C Tokens :&lt;/span&gt;&lt;/h3&gt;&lt;div&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/AVvXsEgKQUxZxQL28FHb4IZHuc6fEHPU4buWvi-plDJp25NxiZxpcHgIeqlXR4naPJADseriAvza3T4hz2jlJ5xiEBQ9kz11aOEubgFE1-mdzIIVo0IvFXvBPXyo0o2LZfqtAayJnfzTdxuVYkl-/s658/token+in+c.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;438&quot; data-original-width=&quot;658&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKQUxZxQL28FHb4IZHuc6fEHPU4buWvi-plDJp25NxiZxpcHgIeqlXR4naPJADseriAvza3T4hz2jlJ5xiEBQ9kz11aOEubgFE1-mdzIIVo0IvFXvBPXyo0o2LZfqtAayJnfzTdxuVYkl-/w400-h266/token+in+c.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;The smallest individual elements or units in a program are called Tokens. &lt;/span&gt;C has the following tokens.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Identifiers&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Keywords&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;String&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Constants&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Operators&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;1. Identifiers:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Identifiers are the names that are given to various program elements such as variables, symbolic constants, and functions.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Rules for defining an Identifiers:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;An &lt;b&gt;identifier&lt;/b&gt; can only have &lt;b&gt;alphanumeric characters (a-z , A-Z , 0-9)&lt;/b&gt; &lt;b&gt;(i.e. letters &amp;amp; digits)&lt;/b&gt; and &lt;b&gt;underscore( _ )&lt;/b&gt; symbol.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Identifier &lt;b&gt;names must be unique.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The&lt;b&gt; first character must be an alphabet or underscore.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;You &lt;b&gt;cannot use a keyword as identifiers.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Only the&lt;b&gt; first thirty-one (31) characters are significant.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Must &lt;b&gt;not contain white spaces.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Identifiers are &lt;b&gt;case-sensitive.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Example :&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;some legal identifiers:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;color: #666666; font-family: verdana;&quot;&gt;float _number;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;color: #666666; font-family: verdana;&quot;&gt;float a;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;color: #666666; font-family: verdana;&quot;&gt;int this_is_a_very_detailed_name_for_an_identifier;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;-This type of identifier you should use in your programming.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The following are illegal identifiers:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #666666; font-family: verdana;&quot;&gt;&lt;b&gt;float :e;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #666666; font-family: verdana;&quot;&gt;&lt;b&gt;float for;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #666666; font-family: verdana;&quot;&gt;&lt;b&gt;float 9PI;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #666666; font-family: verdana;&quot;&gt;&lt;b&gt;float .3.14;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #666666; font-family: verdana;&quot;&gt;&lt;b&gt;float 7g;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #666666; font-family: verdana;&quot;&gt;&lt;b&gt;Float firstname&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;-This type of identifier you should not use in your programming (Not acceptable).&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;2. Keywords :&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;h3&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;Keywords are standard identifiers that have standard predefined meaning in C.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;Keywords are all lowercase, since uppercase and lowercase characters are not equivalent it’s possible to utilize an uppercase keyword as an identifier but it’s not a good programming practice.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/h3&gt;&lt;h3&gt;&lt;span&gt;&lt;span style=&quot;color: #444444; font-family: verdana; font-size: small;&quot;&gt;Points to remember&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;1. Keywords can be used only for their intended purpose.&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;2. Keywords can’t be used as programmer-defined identifiers.&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;3. The keywords can’t be used as names for variables.&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Keyword in c language:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;auto, double, int, struct, break, else, long, switch, case, enum, register, typedef, char, extern, return, union, etc.....&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;3. String&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Strings in c is an array of characters having null characters‘\0’ at the end of the string. Strings in c are enclosed in double-quotes(“”) and characters are enclosed in single-quotes(&#39;&#39;).&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-size: small;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; font-family: verdana;&quot;&gt;&lt;span&gt;char a[5]={&#39;1&#39;,&#39;2&#39;,&#39;3&#39;};&lt;/span&gt;&lt;br style=&quot;-webkit-tap-highlight-color: transparent; box-sizing: inherit;&quot; /&gt;&lt;span&gt;char a[]=&quot;yash&quot;;&lt;/span&gt;&lt;br style=&quot;-webkit-tap-highlight-color: transparent; box-sizing: inherit;&quot; /&gt;&lt;span&gt;char a[5]=&quot;nishit&quot;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;4.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;Constants&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;A character constant is a single character, enclosed in single quotation marks.&lt;/li&gt;&lt;li&gt;e.g., ‘A’&amp;nbsp; ‘B’ ‘1’&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;For more click here:- &lt;b&gt;Type of&amp;nbsp;Constant&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;5. Operators&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;The symbols which are used to perform logical and mathematical operations in a C program are called C operators.&lt;/li&gt;&lt;li&gt;These C operators join individual constants and variables to form expressions.&lt;/li&gt;&lt;li&gt;Operators, constants, and variables are combined together to form the expressions.&lt;/li&gt;&lt;li&gt;Consider the expression A + B * 5.&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;Where, +, * are operators&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&amp;nbsp; &amp;nbsp; A, B&amp;nbsp; are variables&lt;br /&gt;&amp;nbsp; &amp;nbsp; 5 is constant and&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; A + B * 5 is an expression.&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-weight: 400;&quot;&gt;For more click here:-&amp;nbsp;&lt;/span&gt;&lt;b&gt;Type of&amp;nbsp;Operators&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://codeisinterest.blogspot.com/feeds/8081916501563639390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/what-is-tokens-in-c-language-explained.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/8081916501563639390'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/8081916501563639390'/><link rel='alternate' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/what-is-tokens-in-c-language-explained.html' title=' What is tokens in C language - Code Is Interest'/><author><name>Coding Is Interesting !!</name><uri>http://www.blogger.com/profile/05283200021726666258</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKQUxZxQL28FHb4IZHuc6fEHPU4buWvi-plDJp25NxiZxpcHgIeqlXR4naPJADseriAvza3T4hz2jlJ5xiEBQ9kz11aOEubgFE1-mdzIIVo0IvFXvBPXyo0o2LZfqtAayJnfzTdxuVYkl-/s72-w400-h266-c/token+in+c.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6739582449781716355.post-9146418596685471554</id><published>2021-04-11T20:22:00.004-07:00</published><updated>2021-04-13T22:15:23.304-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Character set of C (For noob)"/><title type='text'>Character set of C - Code Is Interest</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The&lt;b&gt; character set is the fundamental raw material of any language&lt;/b&gt; and they are used to represent information. Like natural languages, computer language will also have a well-defined character set, which is useful to build the programs.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&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/AVvXsEi6roEIB42calUWgnzS3QIsWX3nDdnWOwRCDso7XY2M9kHR7ge0tT1uvie8fT5LWu_9uFAh9KG__ANAxXeiZLNWhVPEuM2ctBRjNssQ5N1-fcOFjFYakZknpCdG8iYrJ7AlGF9UljgX0_nw/s1146/character+set+in+c.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;740&quot; data-original-width=&quot;1146&quot; height=&quot;259&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6roEIB42calUWgnzS3QIsWX3nDdnWOwRCDso7XY2M9kHR7ge0tT1uvie8fT5LWu_9uFAh9KG__ANAxXeiZLNWhVPEuM2ctBRjNssQ5N1-fcOFjFYakZknpCdG8iYrJ7AlGF9UljgX0_nw/w400-h259/character+set+in+c.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;It denotes any alphabet, digit, or special symbol used to represent information.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The &lt;b&gt;characters in C &lt;/b&gt;are grouped into the following categories:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;Alphabets&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;Digits&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;Special Characters&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;White Space&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;ALPHABETS&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Uppercase letters&amp;nbsp; A - Z&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Lowercase letters a - z&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;DIGITS&amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;0, 1, 2, 3, 4, 5, 6, 7, 8, 9&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;SPECIAL CHARACTERS&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;+, - , /, @, #, $, %, &amp;amp; etc.....&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;WHITESPACE CHARACTERS&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;\b - backspace&lt;/li&gt;&lt;li&gt;\t - horizontal tab&lt;/li&gt;&lt;li&gt;\v - vertical tab&lt;/li&gt;&lt;li&gt;\\ - backslash&lt;/li&gt;&lt;li&gt;\&#39; - single quote&lt;/li&gt;&lt;li&gt;\&quot; - double quote&lt;/li&gt;&lt;li&gt;\n - newline&lt;/li&gt;&lt;li&gt;\0 - null&lt;/li&gt;&lt;li&gt;\a - alarm(bell)&lt;/li&gt;&lt;li&gt;\? - question mark&lt;/li&gt;&lt;li&gt;\f - form feed&lt;/li&gt;&lt;li&gt;\r - carriage return&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;Escape sequence characters&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Character combinations consisting of a backslash (\) followed by a letter or by a combination of digits are called &quot;escape sequences.&quot;&lt;/li&gt;&lt;li&gt;C uses some backslash characters in output functions for formatting the output. These characters are called Escape sequence characters. In these characters, it consists of two characters, But it is treated as a single character.&lt;/li&gt;&lt;li&gt;Escape sequences are typically used to specify actions such as carriage returns and tab movements on terminals and printers. They are also used to provide literal representations of nonprinting characters and characters that usually have special meanings, such as the double quotation mark (&quot;).&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;\n&amp;nbsp; –&amp;nbsp; newline&lt;/li&gt;&lt;li&gt;\t&amp;nbsp; –&amp;nbsp; horizontal tab(default 8 spaces)&lt;/li&gt;&lt;li&gt;\v&amp;nbsp; –&amp;nbsp; vertical tab(default 1 line)&lt;/li&gt;&lt;li&gt;\b&amp;nbsp; –&amp;nbsp; back space&lt;/li&gt;&lt;li&gt;\a&amp;nbsp; –&amp;nbsp; alert(beep sound)&lt;/li&gt;&lt;li&gt;\r&amp;nbsp; &amp;nbsp;– Carriage return&lt;/li&gt;&lt;li&gt;\f&amp;nbsp; &amp;nbsp;– form feed&lt;/li&gt;&lt;li&gt;\0&amp;nbsp; – null&amp;nbsp;&amp;nbsp;&lt;/li&gt;&lt;li&gt;\”&amp;nbsp; &amp;nbsp;– double quotes&lt;/li&gt;&lt;li&gt;\’ – single quote&lt;/li&gt;&lt;li&gt;\? – Question Mark&lt;/li&gt;&lt;li&gt;\\- backslash&amp;nbsp;&lt;/li&gt;&lt;li&gt;\ooo - ASCII character in octal notation&lt;/li&gt;&lt;li&gt;\xhh&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; - ASCII character in hexadecimal notation&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://codeisinterest.blogspot.com/feeds/9146418596685471554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/character-set-of-c-for-noob-explained.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/9146418596685471554'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/9146418596685471554'/><link rel='alternate' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/character-set-of-c-for-noob-explained.html' title='Character set of C - Code Is Interest'/><author><name>Coding Is Interesting !!</name><uri>http://www.blogger.com/profile/05283200021726666258</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6roEIB42calUWgnzS3QIsWX3nDdnWOwRCDso7XY2M9kHR7ge0tT1uvie8fT5LWu_9uFAh9KG__ANAxXeiZLNWhVPEuM2ctBRjNssQ5N1-fcOFjFYakZknpCdG8iYrJ7AlGF9UljgX0_nw/s72-w400-h259-c/character+set+in+c.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6739582449781716355.post-5194622588854038747</id><published>2021-04-10T22:52:00.003-07:00</published><updated>2021-04-14T21:48:54.824-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Introduction to C"/><title type='text'>Introduction to C - Code Is Interest</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;In this tutorial, you will learn about the basics of the&amp;nbsp;&lt;b&gt;C programming language.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Introduction :&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The language &lt;b&gt;C&lt;/b&gt; was &lt;b&gt;developed in the early 1970s by Dennis Ritchie&lt;/b&gt; to be used by UNIX operating system.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&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/AVvXsEjO0uWHsEGY__xgB1QLEMEnl9YQwXWeOD-NWolXgTWYgHxVLrLOydqUx1xriww0-GoSn7xRMXoC9LQvyH9amQqPUZC7pBht48ePePGjJZZIB87CGixO_-e1optzhvOQcfseFOCrDiERJ82P/s2048/Denise+Richie.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1250&quot; data-original-width=&quot;2048&quot; height=&quot;244&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO0uWHsEGY__xgB1QLEMEnl9YQwXWeOD-NWolXgTWYgHxVLrLOydqUx1xriww0-GoSn7xRMXoC9LQvyH9amQqPUZC7pBht48ePePGjJZZIB87CGixO_-e1optzhvOQcfseFOCrDiERJ82P/w400-h244/Denise+Richie.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;It was named ‘C’ because many of its features were derived from an earlier language called ‘B’.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Although C was designed for implementing system software, it was later on widely used for developing portable application software. Like Adobe Systems, Google Applications, Mozilla Firefox, MySQL Server, etc.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Characteristics of C programming :&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;C is one of the most popular programming languages in the world.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;1. Simplicity:-&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;🠊C has the richest collection of inbuilt functions, keywords, and data types. Also, it follows a structured approach so it is easy to learn also.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;2. Clarity:-&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;🠊The keywords and library functions available in C resemble common English words thus it helps to improve the clarity of the program.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;3. Portability: –&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;🠊By the term portable, we mean computer independent. The program made in C can be made to run on different machines thus increasing the efficiency of the program.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;4. Modularity: –&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;🠊The programs made in C can be easily divided into small modules with the use of functions. This feature helps to increase the understandability of the program.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;5. Extensible:-&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;🠊C is an extensible language as it enables the user to add his own functions to the C library.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;6. Small size:-&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;🠊C has only 32 keywords. This makes it relatively easy to learn compared to other languages.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;div&gt;&lt;b&gt;Structure of C program:-&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&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/AVvXsEhFih1fWHz1fOLb_fvGnzzvK9DEhQMjC_YcYx3W_eAG8V0mEUq2Nk8BR5tiEZhbVYAZExuOO0com2ZVl84vkEZ0Y-7pOxf70KBNqg0eTofsv1v2HYY54q06VeOJ7jCgb348EJEBIJqJOBqy/s2048/Structure.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2048&quot; data-original-width=&quot;1468&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFih1fWHz1fOLb_fvGnzzvK9DEhQMjC_YcYx3W_eAG8V0mEUq2Nk8BR5tiEZhbVYAZExuOO0com2ZVl84vkEZ0Y-7pOxf70KBNqg0eTofsv1v2HYY54q06VeOJ7jCgb348EJEBIJqJOBqy/w286-h400/Structure.png&quot; width=&quot;286&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;Documentation Section:-&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The documentation section consists of a set of comment lines, giving the name of the program, the author, and other details, which the programmer would like to use later. The comments can be written in two ways:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #666666; font-family: verdana;&quot;&gt;&lt;b&gt;a) Multi-line comment&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span&gt;/* This is a&amp;nbsp;&lt;/span&gt;&lt;span&gt;multi-line&amp;nbsp;&lt;/span&gt;&lt;span&gt;comment */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #666666; font-family: verdana;&quot;&gt;&lt;b&gt;b) Single-line comment&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;// This is a single-line comment&lt;/span&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;Link Section:-&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The link section provides instructions to the compiler to link functions from the system library.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;If we want to access the functions stored in the library, it is necessary to tell the compiler about the files to be accessed. This is achieved by using the preprocessor directive #include as follows:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;#include&amp;lt;filename&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Where filename is the name of the library file that contains the required function definition. Preprocessor directives are placed at the beginning of the program. Some of the examples are:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;#include&amp;lt;math.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;Definition Section&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The definition section defines all symbolic constants.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;A #define is a preprocessor compiler directive and not a statement. Therefore #define lines should not end with a semicolon.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Symbolic constants are usually written in uppercase so that they are easily distinguished from lowercase variable names.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;#define instructions are usually placed before the main( ) function.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;#define YEAR 2014&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;#define&amp;nbsp; PI 3.14&lt;/span&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;main( ) Function Section&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Every C program must have one main( ) function section. This section contains two parts, the declaration part, and the executable part.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The declaration part declares all the variables used in the executable part.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;There is at least one instruction in the executable part.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;These two parts must appear between the opening and the closing braces.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The program execution begins at the opening brace and ends at the closing brace. The closing brace of the main function section is the logical end of the program.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;All the statements in the declaration and executable parts end with a semicolon (;).&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;Subprogram Section&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The subprogram section contains all the user-defined functions that are called in the main functions. User-defined functions are generally placed immediately after the main function, although they may appear in any order.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;Sample Program&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;// A simple C-Program to print a message&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;#include&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;#include&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;void main()&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;/* my first program in C */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(“Welcome to Code is interest! \n”);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;Let us look various parts of the above program:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;▶ The first line of the program is a single line comment,&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;giving the description &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;about &lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;the program as well as author’s name.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;▶&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The next two lines are #include &amp;lt;stdio.h&amp;gt; and #include &amp;lt;conio.h&amp;gt; which are &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;preprocessor command(s) which tells a C compiler to include these files before &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;going to actual compilation.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;▶&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The next line void main() is the main function where program execution begins.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;▶&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The next line /*...*/ will be ignored by the compiler and it has been put to add &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;additional comments in the program.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;▶&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The next line printf(...) is another function available in C which causes the &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;message &lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&quot;Welcome to &lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Code is interest!&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&quot; to be displayed on the screen.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://codeisinterest.blogspot.com/feeds/5194622588854038747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/introduction-to-c-explained-easy-way.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/5194622588854038747'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/5194622588854038747'/><link rel='alternate' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/introduction-to-c-explained-easy-way.html' title='Introduction to C - Code Is Interest'/><author><name>Coding Is Interesting !!</name><uri>http://www.blogger.com/profile/05283200021726666258</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO0uWHsEGY__xgB1QLEMEnl9YQwXWeOD-NWolXgTWYgHxVLrLOydqUx1xriww0-GoSn7xRMXoC9LQvyH9amQqPUZC7pBht48ePePGjJZZIB87CGixO_-e1optzhvOQcfseFOCrDiERJ82P/s72-w400-h244-c/Denise+Richie.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6739582449781716355.post-6011394864312530386</id><published>2021-04-06T20:49:00.003-07:00</published><updated>2021-04-06T20:49:26.463-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><category scheme="http://www.blogger.com/atom/ns#" term="Compiler vs Interpreter )"/><category scheme="http://www.blogger.com/atom/ns#" term="Low-level"/><category scheme="http://www.blogger.com/atom/ns#" term="PROGRAMMING LANGUAGE (High-level"/><title type='text'>PROGRAMMING LANGUAGE (High-level, Low-level, Compiler vs Interpreter )</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;To write a computer program, a standard programming language is used.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;A &lt;b&gt;programming language&lt;/b&gt; is composed of a set of instructions in a language &lt;b&gt;understandable to the programmer&lt;/b&gt; and &lt;b&gt;recognizable by a computer.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Programming languages can be classiﬁed as &lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;high-level, middle-level, and low-level.&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;High-level languages&lt;/b&gt; such as &lt;b&gt;BASIC, COBOL (Common Business-Oriented Programming Language), and FORTRAN (Formula Translation Language) are used to write application programs.&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;A middle-level language&lt;/b&gt; such as &lt;b&gt;C is used for writing applications and system programs.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;A low-level language&lt;/b&gt; such as &lt;b&gt;the assembly language is mostly used to write system programs.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Low-level programming languages were the ﬁrst category of programming languages to evolve. Gradually, high-level and middle-level programming languages were developed and put to use.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Following are the growth of computer languages&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&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/AVvXsEhiail4VYo94BJQJCt1XZ7Uj_BaZbtgx8fOfZLGmPwlQEPLaY1Z_B1D2gLxoSHaAFJ4BHhKUl21mMS0UxZPTqZq4DrRAEQ4i0vAGV0yk8BRbBMlyOdCSbLiUL7GhHJSAtoZyzH_ypsAYFSk/s586/evolution.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;472&quot; data-original-width=&quot;586&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiail4VYo94BJQJCt1XZ7Uj_BaZbtgx8fOfZLGmPwlQEPLaY1Z_B1D2gLxoSHaAFJ4BHhKUl21mMS0UxZPTqZq4DrRAEQ4i0vAGV0yk8BRbBMlyOdCSbLiUL7GhHJSAtoZyzH_ypsAYFSk/w400-h323/evolution.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Low-level Languages :&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;A low-level computer programming language is one that is closer to the native language of the computer, which is 1’s and 0’s&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: verdana;&quot;&gt;&lt;b&gt;Machine language:-&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;This is a sequence of instructions written in the form of binary numbers consisting of 1’s and 0’s to which the computer responds directly.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;Assembly language:-&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;When symbols such as letters, digits, or special characters are employed for the operation, operand, and other parts of the instruction code, the representation is called an assembly language instruction.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;High-level Languages&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;High-level programming languages such as COBOL, FORTRAN, and BASIC, Such languages have instructions that are similar to human languages and have a set of grammar that makes it easy for a programmer to write programs and identify and correct errors in them. To illustrate this point, a program written in BASIC, to obtain the sum of two numbers, is shown below.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&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/AVvXsEjQuzKA2li506hYmEW2p2BNHcr3Y_PP_54mZ8HXZB6jCHKrkhuguKfIX76s9xjPapxBdFUy_Ge4xXWzvM6gacNNFB2kSmaAqJyjUIohlf2-rDGIn0LExrTaTDFPAe_DSkBECWxQzefKxkxh/s586/table+1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;311&quot; data-original-width=&quot;586&quot; height=&quot;213&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQuzKA2li506hYmEW2p2BNHcr3Y_PP_54mZ8HXZB6jCHKrkhuguKfIX76s9xjPapxBdFUy_Ge4xXWzvM6gacNNFB2kSmaAqJyjUIohlf2-rDGIn0LExrTaTDFPAe_DSkBECWxQzefKxkxh/w400-h213/table+1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;Compiler and Interpreter&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;For executing a program written in a high-level language, it must be ﬁrst translated into a form the machine can understand. This is done by software called the compiler. The &lt;b&gt;compiler takes the high-level language program as input and produces the machine language code as the output for the machine to execute the program.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The compiler and interpreter have different approaches to translation.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&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/AVvXsEjepZvvtYZ6cq74a9RUXKwiVMz5k-rO4bDCz0pHK4yMMv0lME0QHoh-JtOEqhR2vtyLJCBvPKxfnSgvDmDCH5BvjfCcDI8bDaKm3vjyLvOQxQmZmBw73Dbu84krvI0Hsb7FDBCrXCcOZLwW/s586/Compiler.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;311&quot; data-original-width=&quot;586&quot; height=&quot;213&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjepZvvtYZ6cq74a9RUXKwiVMz5k-rO4bDCz0pHK4yMMv0lME0QHoh-JtOEqhR2vtyLJCBvPKxfnSgvDmDCH5BvjfCcDI8bDaKm3vjyLvOQxQmZmBw73Dbu84krvI0Hsb7FDBCrXCcOZLwW/w400-h213/Compiler.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;Difference between Compiler and Interpreter&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&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/AVvXsEioAv5YBVXaPucGFgo0wS8laNpv7oi5xpYTLO192R78tkT3p52-nXi9w81umNCe9oV3SPUkGFiAqyYoyrKGCwtFmCpw_juTHuP_0Ge8OFaW5MM7Lxa-VWI5rLTT5J76RnU-EN4A9nuHVZqs/s611/Compiler+vs+interpreter.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;309&quot; data-original-width=&quot;611&quot; height=&quot;203&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioAv5YBVXaPucGFgo0wS8laNpv7oi5xpYTLO192R78tkT3p52-nXi9w81umNCe9oV3SPUkGFiAqyYoyrKGCwtFmCpw_juTHuP_0Ge8OFaW5MM7Lxa-VWI5rLTT5J76RnU-EN4A9nuHVZqs/w400-h203/Compiler+vs+interpreter.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://codeisinterest.blogspot.com/feeds/6011394864312530386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/programming-language-high-level-low.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/6011394864312530386'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/6011394864312530386'/><link rel='alternate' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/programming-language-high-level-low.html' title='PROGRAMMING LANGUAGE (High-level, Low-level, Compiler vs Interpreter )'/><author><name>Coding Is Interesting !!</name><uri>http://www.blogger.com/profile/05283200021726666258</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiail4VYo94BJQJCt1XZ7Uj_BaZbtgx8fOfZLGmPwlQEPLaY1Z_B1D2gLxoSHaAFJ4BHhKUl21mMS0UxZPTqZq4DrRAEQ4i0vAGV0yk8BRbBMlyOdCSbLiUL7GhHJSAtoZyzH_ypsAYFSk/s72-w400-h323-c/evolution.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6739582449781716355.post-6045045947198651502</id><published>2021-04-05T21:53:00.006-07:00</published><updated>2021-04-05T21:53:58.061-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><category scheme="http://www.blogger.com/atom/ns#" term="Type of computer software."/><title type='text'>Type of computer software.</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;There are two ways by which &lt;b&gt;one can acquire a program—either purchase an existing program, referred to as packaged software&lt;/b&gt;, or &lt;b&gt;prepare a new program from scratch, in which case it is called customized software.&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Computer software can be broadly classiﬁed into two categories: &lt;b&gt;system software and application software.&lt;/b&gt;&lt;/span&gt;&lt;/p&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/AVvXsEiEUVBp9N1cod3KPQ_7KyAFCUnEk3SPGk8RMKCLvPkYT1cuwqiLXl9M2kQCLJ9wjrx059HXHI1T5ElL3KwLF8zRlL5PW7ML8oINzEu5nayb9eJs7e26Tqfxv7qFNeTIspwB9jFpVnmsioJm/s1032/computer+software.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;732&quot; data-original-width=&quot;1032&quot; height=&quot;284&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEUVBp9N1cod3KPQ_7KyAFCUnEk3SPGk8RMKCLvPkYT1cuwqiLXl9M2kQCLJ9wjrx059HXHI1T5ElL3KwLF8zRlL5PW7ML8oINzEu5nayb9eJs7e26Tqfxv7qFNeTIspwB9jFpVnmsioJm/w400-h284/computer+software.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;1.System Software:&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;System software is a collection of programs that interfaces with the hardware.&lt;/b&gt; Some common categories of system software are described as follows ;&lt;/span&gt;&lt;/div&gt;&lt;div&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/AVvXsEirRkR_QR7ovB8S-mpupJt5j_hLZoSH0XabtTYE7I-1_RJbzi8yx65mSyJb-WE171skl_b3vqu8U0Y0k5MOrMIqtpqXal2YI2F-o2GIrr8HRNSNHKpwbxUrCidxSVv8QEDUD-kt3LDwosT3/s2250/system.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;847&quot; data-original-width=&quot;2250&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirRkR_QR7ovB8S-mpupJt5j_hLZoSH0XabtTYE7I-1_RJbzi8yx65mSyJb-WE171skl_b3vqu8U0Y0k5MOrMIqtpqXal2YI2F-o2GIrr8HRNSNHKpwbxUrCidxSVv8QEDUD-kt3LDwosT3/w400-h150/system.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;2.Application Software:&lt;/span&gt;&lt;/h3&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;Application software is written to enable the computer to solve a speciﬁc data processing task.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&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/AVvXsEgn4No8wG6E8-8kb3yFuCcBlYn9bMaOELh3I6TJU0Wn9T6pJgBqP8AWxkGp1DxDkEKSU3f6hfe9ybxkpaRTDfpGMTL1TNRPHJa8VS18ZAsCWQx8o5s7Zfq1ubvbIk9selZrfXTL653cBW40/s2048/ash.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1374&quot; data-original-width=&quot;2048&quot; height=&quot;269&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn4No8wG6E8-8kb3yFuCcBlYn9bMaOELh3I6TJU0Wn9T6pJgBqP8AWxkGp1DxDkEKSU3f6hfe9ybxkpaRTDfpGMTL1TNRPHJa8VS18ZAsCWQx8o5s7Zfq1ubvbIk9selZrfXTL653cBW40/w400-h269/ash.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://codeisinterest.blogspot.com/feeds/6045045947198651502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/type-of-computer-software.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/6045045947198651502'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/6045045947198651502'/><link rel='alternate' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/type-of-computer-software.html' title='Type of computer software.'/><author><name>Coding Is Interesting !!</name><uri>http://www.blogger.com/profile/05283200021726666258</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEUVBp9N1cod3KPQ_7KyAFCUnEk3SPGk8RMKCLvPkYT1cuwqiLXl9M2kQCLJ9wjrx059HXHI1T5ElL3KwLF8zRlL5PW7ML8oINzEu5nayb9eJs7e26Tqfxv7qFNeTIspwB9jFpVnmsioJm/s72-w400-h284-c/computer+software.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6739582449781716355.post-3432655809120458066</id><published>2021-04-04T22:49:00.002-07:00</published><updated>2021-04-04T22:49:35.723-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><category scheme="http://www.blogger.com/atom/ns#" term="Example of flowchart"/><category scheme="http://www.blogger.com/atom/ns#" term="Stating algorithms using Flowchart Explained easy way"/><title type='text'>Example of flowchart (With solution)</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;span style=&quot;font-family: verdana;&quot;&gt;Read about flowchart (Easy way) - &lt;b&gt;&lt;a href=&quot;https://codeisinterest.blogspot.com/2021/04/stating-algorithms-using-flowchart.html&quot; style=&quot;background-color: #cfe2f3;&quot; target=&quot;_blank&quot;&gt;Click here&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Example&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;1. Draw a flowchart to add two numbers entered by the user.&lt;/b&gt;&lt;/span&gt;&lt;/div&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/AVvXsEiTj_vfVC5RQBFR3JfDdiC8XBS89LQD-Ogb6cPswDNVNcojeNwtgDHwP4W4NbPlj3h4iaIqAbSj45GsbsrTDwbrW-hGBQyzKHAarDsKGbwo0Bk1j3MFpAzCjQsKWQk2JtpMtdQuaftaoy7O/s1191/add+.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1191&quot; data-original-width=&quot;842&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTj_vfVC5RQBFR3JfDdiC8XBS89LQD-Ogb6cPswDNVNcojeNwtgDHwP4W4NbPlj3h4iaIqAbSj45GsbsrTDwbrW-hGBQyzKHAarDsKGbwo0Bk1j3MFpAzCjQsKWQk2JtpMtdQuaftaoy7O/w453-h640/add+.png&quot; width=&quot;453&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;div&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;2. Draw a flowchart to find the largest among three different numbers entered by the user.&lt;/b&gt;&lt;/div&gt;&lt;div&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/AVvXsEjmjHU6soikSOBD8-iubZC3k6H2C5bjPcUEYu8ytpPLOXLS8fwNVc2q_alLyL5Zt2y2m9RB0_dY5Cf2RXRCwZXNFICX2lSJuV2J16TFNlzI7R4bzBuzj4p_9BhaphLVOgFn5bKzRiJm29Rw/s1071/three+num.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;677&quot; data-original-width=&quot;1071&quot; height=&quot;405&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmjHU6soikSOBD8-iubZC3k6H2C5bjPcUEYu8ytpPLOXLS8fwNVc2q_alLyL5Zt2y2m9RB0_dY5Cf2RXRCwZXNFICX2lSJuV2J16TFNlzI7R4bzBuzj4p_9BhaphLVOgFn5bKzRiJm29Rw/w640-h405/three+num.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;3. Draw a flowchart to find the sum of the first 50 natural numbers.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;4. Draw a flowchart for computing factorial of N.&lt;/b&gt;&lt;/div&gt;&lt;div&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/AVvXsEhOYJDwxGws0_5majTENNHHh-j8Q0iqYFPC_7cgPML8IkaJEhtUis-TScgIUVJwoIqgJNDN16Dksn4VnXCjQFaq12dRJzLvFSf-DrJxc-jNMDwIybF5zv7F551wEyCRw7ggkClfOoXKQ2g_/s1084/add+50+.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;973&quot; data-original-width=&quot;1084&quot; height=&quot;574&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOYJDwxGws0_5majTENNHHh-j8Q0iqYFPC_7cgPML8IkaJEhtUis-TScgIUVJwoIqgJNDN16Dksn4VnXCjQFaq12dRJzLvFSf-DrJxc-jNMDwIybF5zv7F551wEyCRw7ggkClfOoXKQ2g_/w640-h574/add+50+.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;5. Draw a flowchart for calculating the simple interest.&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/AVvXsEheD23ylhrFU-Ie4kv5KOIJ0j-h1mdirR3YB3F9omK4P_dUBE2Y_VzmW1zk7pgBTADUGkypskGPHCxQJOxsJskgFWUOJF-ZwD4Rew8rEBs28-rz2A3FcUUBLC87p3ymPGADp4BhG_y-gIZ4/s1084/Factorial+.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;973&quot; data-original-width=&quot;1084&quot; height=&quot;574&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheD23ylhrFU-Ie4kv5KOIJ0j-h1mdirR3YB3F9omK4P_dUBE2Y_VzmW1zk7pgBTADUGkypskGPHCxQJOxsJskgFWUOJF-ZwD4Rew8rEBs28-rz2A3FcUUBLC87p3ymPGADp4BhG_y-gIZ4/w640-h574/Factorial+.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;6. Draw a flowchart for printing the sum of even terms contained within the numbers 0 to 20.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&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/AVvXsEgAHuQ0jUz90YyCO3eqM-itsd9kKGroTEb-bX4w1dySr8MqxhQWFMxdAOYTm3z4vHKddHKGoSrl7v3uKH_wtgZKRPU8jt5H1gOezeIBULuk0X6prZqAaQh-UFFO-vet1WvPcR6mY0yhSf0Y/s1212/0+to+20.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1212&quot; data-original-width=&quot;1084&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAHuQ0jUz90YyCO3eqM-itsd9kKGroTEb-bX4w1dySr8MqxhQWFMxdAOYTm3z4vHKddHKGoSrl7v3uKH_wtgZKRPU8jt5H1gOezeIBULuk0X6prZqAaQh-UFFO-vet1WvPcR6mY0yhSf0Y/w573-h640/0+to+20.png&quot; width=&quot;573&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&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/AVvXsEgA2moVq9BKcB2f-szRIwzF-6MKXCnWBv6sgzH33syk39z-Tqb-GNSn21FRYfMz7Y9G81uhppadV2P5w5_5ZZyYMIusRLVvVHUe2erwHyKNFrwliXQs2Ui9na9bB3SPAeB-nHNJNeme66RA/s757/0+to+20+connector.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;472&quot; data-original-width=&quot;757&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA2moVq9BKcB2f-szRIwzF-6MKXCnWBv6sgzH33syk39z-Tqb-GNSn21FRYfMz7Y9G81uhppadV2P5w5_5ZZyYMIusRLVvVHUe2erwHyKNFrwliXQs2Ui9na9bB3SPAeB-nHNJNeme66RA/w640-h400/0+to+20+connector.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;7. The XYZ company plans to give a 5% year-end bonus to each of its employees earning Rs. 5000 or more per year, and a fixed bonus of Rs. 250 to all other employees.&lt;/b&gt;&lt;/div&gt;&lt;div&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/AVvXsEjPs9R-ydDF1dHLRIi2QVZG7V2Z9lA14cqG3JOvRTWGlF_Gy73pyqHlrtRiOTVsLfrW6QB_fLhwCg5gvqNEjtuvNW9djF6J098zlzRkTDuRAv3ax2Ahl4nGu5REgKfY-XH4NPXQJyGIKyHq/s1084/bonus.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;973&quot; data-original-width=&quot;1084&quot; height=&quot;574&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPs9R-ydDF1dHLRIi2QVZG7V2Z9lA14cqG3JOvRTWGlF_Gy73pyqHlrtRiOTVsLfrW6QB_fLhwCg5gvqNEjtuvNW9djF6J098zlzRkTDuRAv3ax2Ahl4nGu5REgKfY-XH4NPXQJyGIKyHq/w640-h574/bonus.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;8. Prepare a flowchart for student&#39;s grades.&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&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/AVvXsEgoqfL8hwPr_1GE05R4a9hZ_OKy8aN0QfgqapIupYCO0nlZGvj5fmSIXOBTYsTra4wGh17p6t8St5lcRghM-vKD0Hhqv3filhaIRg2pgAHzoKURgSyKTH23Ali2LVP2lonVQ90Li4aKoHzA/s2008/gread.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1672&quot; data-original-width=&quot;2008&quot; height=&quot;533&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoqfL8hwPr_1GE05R4a9hZ_OKy8aN0QfgqapIupYCO0nlZGvj5fmSIXOBTYsTra4wGh17p6t8St5lcRghM-vKD0Hhqv3filhaIRg2pgAHzoKURgSyKTH23Ali2LVP2lonVQ90Li4aKoHzA/w640-h533/gread.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://codeisinterest.blogspot.com/feeds/3432655809120458066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/example-of-flowchart-with-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/3432655809120458066'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/3432655809120458066'/><link rel='alternate' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/example-of-flowchart-with-solution.html' title='Example of flowchart (With solution)'/><author><name>Coding Is Interesting !!</name><uri>http://www.blogger.com/profile/05283200021726666258</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTj_vfVC5RQBFR3JfDdiC8XBS89LQD-Ogb6cPswDNVNcojeNwtgDHwP4W4NbPlj3h4iaIqAbSj45GsbsrTDwbrW-hGBQyzKHAarDsKGbwo0Bk1j3MFpAzCjQsKWQk2JtpMtdQuaftaoy7O/s72-w453-h640-c/add+.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6739582449781716355.post-132885701106396903</id><published>2021-04-03T22:43:00.003-07:00</published><updated>2021-04-03T22:43:11.952-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><category scheme="http://www.blogger.com/atom/ns#" term="Stating algorithms using Flowchart Explained easy way"/><title type='text'>Stating algorithms using Flowchart Explained easy way</title><content type='html'>&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&amp;nbsp;Flowchart&lt;/span&gt;&lt;/h3&gt;&lt;div&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/AVvXsEh5mVkGD0mS3u2v4xOEWTfmKCEPYF2T3g-cYuvUHycotzc2QPDugYmTx-ZfaGLLaiCm4WERgstxVA4qL7LhHhSHmcKtxkbyQLmf1gVLFPb34kPICW2Hn-UprasZjbw7tInmG_yEwd7wWuFg/s443/Flowchart.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;258&quot; data-original-width=&quot;443&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5mVkGD0mS3u2v4xOEWTfmKCEPYF2T3g-cYuvUHycotzc2QPDugYmTx-ZfaGLLaiCm4WERgstxVA4qL7LhHhSHmcKtxkbyQLmf1gVLFPb34kPICW2Hn-UprasZjbw7tInmG_yEwd7wWuFg/s16000/Flowchart.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;The flowchart is a &lt;b&gt;graphical/diagrammatic representation of an algorithm.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Flowcharts are very helpful in &lt;b&gt;writing programs &lt;/b&gt;and &lt;b&gt;explaining programs to others.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;Symbols Used In Flowchart :&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Different symbols are used for different states in the flowchart.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;For example,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&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/AVvXsEgzaJiEJDRt62Iyda7UOB20YSU24POraauGhBJIOYTLZU60_-02FhBqP5_lHHqj1JxY-_G2rP_IRXwtTliW1cEhsKBWaisFgmECyH8FW7Xdr1SoZPRYjXKjvjZQPxgJUKN-6Njim9Uv9NqC/s1191/flowchart+symbols.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1191&quot; data-original-width=&quot;1008&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzaJiEJDRt62Iyda7UOB20YSU24POraauGhBJIOYTLZU60_-02FhBqP5_lHHqj1JxY-_G2rP_IRXwtTliW1cEhsKBWaisFgmECyH8FW7Xdr1SoZPRYjXKjvjZQPxgJUKN-6Njim9Uv9NqC/w542-h640/flowchart+symbols.png&quot; width=&quot;542&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Rules for drawing a flowchart :&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;b&gt;1.The ﬂowchart should be clear, neat, and easy to follow. There should be no ambiguity in understanding the ﬂowchart.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;b&gt;2.The usual direction of the ﬂow of a procedure or system is from left to right or top to bottom.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;b&gt;3.Only one ﬂow line should emerge from a process symbol.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioOKpK6B8v49JR-9xxmsVqH9YcrZLmrqzUEvi5Ut_P_6XXGvU8eKsQ009rhd2Jr5xUOZ5lwg5dNRsjlYvBcd9VXQ2BuVyK7HKnL23sRysPSePLkgJLiXu_ugToVwlTJRIkW7e7TV6ON9tU/s927/PROCESS%252C.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;486&quot; data-original-width=&quot;927&quot; height=&quot;210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioOKpK6B8v49JR-9xxmsVqH9YcrZLmrqzUEvi5Ut_P_6XXGvU8eKsQ009rhd2Jr5xUOZ5lwg5dNRsjlYvBcd9VXQ2BuVyK7HKnL23sRysPSePLkgJLiXu_ugToVwlTJRIkW7e7TV6ON9tU/w400-h210/PROCESS%252C.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;b&gt;4.Only one ﬂow line should enter a decision symbol, but two or three ﬂow lines, one for each possible answer, can leave the decision symbol.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYV9MLGrKh2S_uZZ7vs2WcZlilvAAfJ3irEhGjedlSTO8qQBvOCWWyzA_-i5Kvz6I3jiOwG3WgvKLtPP7s-klxSn_xRr5can7JyDJ2FTmAQ-05sU2KaWKqsa2hnBahZR4HvDoU5Q0Wh0x_/s927/Desicion.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;486&quot; data-original-width=&quot;927&quot; height=&quot;210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYV9MLGrKh2S_uZZ7vs2WcZlilvAAfJ3irEhGjedlSTO8qQBvOCWWyzA_-i5Kvz6I3jiOwG3WgvKLtPP7s-klxSn_xRr5can7JyDJ2FTmAQ-05sU2KaWKqsa2hnBahZR4HvDoU5Q0Wh0x_/w400-h210/Desicion.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;b&gt;5.Only one ﬂow line is used in conjunction with a terminal symbol.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxei1xcgreb_f0p6gt0_7WCiOh3uQbSlTeDTYhPlysXBxCRo9uLKwcnRduoIQpamw4IneSl1hP7YyQms6bec8AzyQeXvOprF1q2H6BUbn3uogjpKiMriMideXCeh22y7TFxwEo7BVQ3RpJ/s927/start%252Cstop.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;486&quot; data-original-width=&quot;927&quot; height=&quot;210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxei1xcgreb_f0p6gt0_7WCiOh3uQbSlTeDTYhPlysXBxCRo9uLKwcnRduoIQpamw4IneSl1hP7YyQms6bec8AzyQeXvOprF1q2H6BUbn3uogjpKiMriMideXCeh22y7TFxwEo7BVQ3RpJ/w400-h210/start%252Cstop.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;b&gt;6.A sequence of steps or processes that are executed in a particular order is shown using process symbols connected with ﬂow lines.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMz-lm9yjJOdUwMqSlwoDFEIDhrVXblQCw6N-_utotpEsH4LTcqcfZZcd3huB3qOTL5a-_9_g8w3_cf3bpcSiNafHgenfrZAQ3m6M8PQFuSZvL8_CtooDVSi6RgwZRvlhdBaw-Wyk4GSBG/s927/sequence.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;486&quot; data-original-width=&quot;927&quot; height=&quot;210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMz-lm9yjJOdUwMqSlwoDFEIDhrVXblQCw6N-_utotpEsH4LTcqcfZZcd3huB3qOTL5a-_9_g8w3_cf3bpcSiNafHgenfrZAQ3m6M8PQFuSZvL8_CtooDVSi6RgwZRvlhdBaw-Wyk4GSBG/w400-h210/sequence.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;b&gt;7.Iteration or looping is depicted by a combination of process and decision symbols placed in proper order. Here ﬂow lines are used to connect the symbols and depict input and output to this structure.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&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/AVvXsEgVlokfIc_ce8SMHNsBOiOemku-HRkKgPy66npRRccOZgf1PE_QrBgbQ_uzi7REv085JTV3bZlWGIhRAyhFQfzk94PiZCiapOZB-65fjfDfenZPEyErvHB43bTJRsc3fthUa9Zjiru3Fm_J/s826/whole+diagram.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;414&quot; data-original-width=&quot;826&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVlokfIc_ce8SMHNsBOiOemku-HRkKgPy66npRRccOZgf1PE_QrBgbQ_uzi7REv085JTV3bZlWGIhRAyhFQfzk94PiZCiapOZB-65fjfDfenZPEyErvHB43bTJRsc3fthUa9Zjiru3Fm_J/w400-h200/whole+diagram.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;b&gt;8.Selection of a process or step is depicted by the decision-making and process symbols. Only one input indicated by one incoming ﬂow line and one output ﬂowing out of this structure exist. The decision symbol and the process symbols are connected by ﬂow lines.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcRKkIr4dmBfX9mytDDoyq8aFAo_P62sD4q7ASNgzCmpM_cNzmOLYx8ibuPieqMhtJGzW9WnJp0xpCkoLmd3EN9msvhFX8mVRsLXXM9P_Hk8lHRDv6QYTte8gCp9XrblhqbPP7OktwTAol/s826/whole+diagram+2.0.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;414&quot; data-original-width=&quot;826&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcRKkIr4dmBfX9mytDDoyq8aFAo_P62sD4q7ASNgzCmpM_cNzmOLYx8ibuPieqMhtJGzW9WnJp0xpCkoLmd3EN9msvhFX8mVRsLXXM9P_Hk8lHRDv6QYTte8gCp9XrblhqbPP7OktwTAol/w400-h200/whole+diagram+2.0.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://codeisinterest.blogspot.com/feeds/132885701106396903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/stating-algorithms-using-flowchart.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/132885701106396903'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/132885701106396903'/><link rel='alternate' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/stating-algorithms-using-flowchart.html' title='Stating algorithms using Flowchart Explained easy way'/><author><name>Coding Is Interesting !!</name><uri>http://www.blogger.com/profile/05283200021726666258</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5mVkGD0mS3u2v4xOEWTfmKCEPYF2T3g-cYuvUHycotzc2QPDugYmTx-ZfaGLLaiCm4WERgstxVA4qL7LhHhSHmcKtxkbyQLmf1gVLFPb34kPICW2Hn-UprasZjbw7tInmG_yEwd7wWuFg/s72-c/Flowchart.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6739582449781716355.post-7082532047631756495</id><published>2021-04-01T22:34:00.013-07:00</published><updated>2021-04-04T20:21:59.306-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><category scheme="http://www.blogger.com/atom/ns#" term="Examples with solution of step-form"/><title type='text'>Examples of step-form ( with solution )</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;background-color: white; font-weight: normal;&quot;&gt;Read about Step-form(Easy way)- &lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;a href=&quot;https://codeisinterest.blogspot.com/2021/03/stating-algorithms-using-step-form.html&quot; style=&quot;background-color: #cfe2f3;&quot; target=&quot;_blank&quot;&gt;Click here&lt;/a&gt;&lt;/b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;Examples&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&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/AVvXsEj-PzAi50G7ryV5zdKeA0J9OgpTOrj42czD-TTaiYh7Vnc9iCYTL00-etbLn-kb4ibAw8kLvlGaHtDHAMVjJuDi98eiQrhBuuyMyw4e8wet8HvjOS824IIjxecZtFnarwKsOmZxfDeR5D-9/s443/Step-form+example.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;258&quot; data-original-width=&quot;443&quot; height=&quot;233&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-PzAi50G7ryV5zdKeA0J9OgpTOrj42czD-TTaiYh7Vnc9iCYTL00-etbLn-kb4ibAw8kLvlGaHtDHAMVjJuDi98eiQrhBuuyMyw4e8wet8HvjOS824IIjxecZtFnarwKsOmZxfDeR5D-9/w400-h233/Step-form+example.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;1.Write an algorithm to print a welcome message.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Solution - The desired algorithm to print the welcome message is given as follows:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Steps:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Start&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Print “Welcome to India”&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Stop&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;2.Write an algorithm to print your name.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Solution - The desired algorithm to print your name is given as follows:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Steps:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Start&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Print “My name is Yash”&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Stop&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;3.Write an algorithm to print any numeric value using the variable. (Use Assignment operator)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Solution - The desired algorithm to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: verdana;&quot;&gt;any numeric value using the variable&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&amp;nbsp;is given as follows:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Steps:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Start&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;input A&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;b&gt;A → 10&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Print A&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Stop&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;4.Write an algorithm to find the sum of any two numbers. (Use Assignment operator)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Solution - The desired algorithm to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: verdana;&quot;&gt;find the sum of any two number&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&amp;nbsp;is given as follows:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Steps:&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Start&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;input A, B, C&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;A → 10&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b&gt;B&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-family: courier;&quot;&gt;→ 05&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;C ← A + B&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Print C&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Stop&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;5.Write an algorithm to find the multiplication of any two numbers. Use Assignment operator)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Solution - The desired algorithm to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: verdana;&quot;&gt;find the multiplication of any two number&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&amp;nbsp;is given as follows:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Steps:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Start&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;input A, B, C&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;A → 02&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b&gt;B&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-family: courier;&quot;&gt;→ 05&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;C ← A * B&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Print C&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Stop&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;b&gt;6.Construct an algorithm for interchanging the numeric values of two variables given by the user.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Solution - The desired algorithm &lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;for interchanging the numeric values of two variables given by the user is given as follows:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Steps:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Start&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;print &quot;Enter first number&quot;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;input A&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;print &quot;Enter second number&quot;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;input B&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;T = A&amp;nbsp;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;b&gt;A = B&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;b&gt;B = A&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;C ← A * B&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Print A, B&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Stop&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;b&gt;7.Write an algorithm to print that the given number is positive or not.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Solution - The desired algorithm to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: verdana;&quot;&gt;find the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;given number is positive or not is&amp;nbsp;given as follows:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Steps:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Start&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;input A&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;b&gt;A → 5&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;if&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;(A &amp;gt; 0) then&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;print &quot;Given number is positive&quot;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;else&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;print &quot;Given number is not positive&quot;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Stop&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;b&gt;8.Write an algorithm to check whether the student is pass or not.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Solution - The desired algorithm to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;check whether the student is pass or not is given as follows:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Steps:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Start&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;input SM&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;SM&amp;nbsp;&lt;/b&gt;&lt;b style=&quot;background-color: #f3f3f3; font-family: courier;&quot;&gt;→ 50&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;if&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;(SM &amp;gt; 33 ) then&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;print &quot;Pass&quot;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;else&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;print &quot;Fail&quot;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Stop&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b&gt;Where, SM = students marks&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;b&gt;9.Write an algorithm that compares two numbers and prints the message identifying the greater number.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;or&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;Print largest number among two numbers.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Solution - The desired algorithm&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;that compares two numbers and prints the message identifying the greater number is given as follows:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Steps:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Start&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;input A, B&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;A&amp;nbsp;&lt;/b&gt;&lt;b style=&quot;background-color: #f3f3f3; font-family: courier;&quot;&gt;→ 20&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;B&amp;nbsp;&lt;/b&gt;&lt;b style=&quot;background-color: #f3f3f3; font-family: courier;&quot;&gt;→ 21&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;if&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;(A &amp;gt; B) then&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;print &quot;A is greater number&quot;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;else&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;print &quot;B is greater number&quot;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Stop&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;b&gt;10.Write an algorithm to check whether a number given by the user is odd or even.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Solution - The desired algorithm to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;check whether a number given by the user is odd or even&amp;nbsp;is given as follows:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Steps:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Start&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;print &quot;Enter first number&quot;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;input A&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;if&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;(A%2=0 ) then&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;print &quot;Number is even&quot;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;else&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;print &quot;NUmber is odd&quot;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Stop&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&lt;b&gt;11.Print largest number among three numbers. (use logical operator)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;p style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: verdana; font-weight: 400;&quot;&gt;Solution - The desired algorithm to p&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;rint largest number among three numbers. (use logical operator)&amp;nbsp;is given as follows:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-weight: 400;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Steps:&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-weight: 400;&quot;&gt;&lt;/p&gt;&lt;ol&gt;&lt;li style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-weight: 400;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Start&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-weight: 400;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;input A, B, C&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;A&amp;nbsp;&lt;/b&gt;&lt;b style=&quot;background-color: #f3f3f3; font-family: courier;&quot;&gt;→ 50&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;B&amp;nbsp;&lt;/b&gt;&lt;b style=&quot;background-color: #f3f3f3; font-family: courier;&quot;&gt;→ 54&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;C&amp;nbsp;&lt;/b&gt;&lt;b style=&quot;background-color: #f3f3f3; font-family: courier;&quot;&gt;→ 23&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;b&gt;if&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;b&gt;(A &amp;gt; B AND A &amp;gt; C)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;b&gt;print &quot;A is largest number&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;b&gt;else if (B &amp;gt; A AND B &amp;gt; C)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;b&gt;print &quot;B is largest number&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;b&gt;else&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;b&gt;print &quot;C is largest number&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-weight: 400;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Stop&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;12.Write an algorithm for the addition of N-given numbers.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Solution - The desired algorithm to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: verdana;&quot;&gt;find&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;the addition of N-given numbers&amp;nbsp;&lt;/span&gt;is given as follows:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Steps:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Start&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;input C&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;b&gt;while C &amp;lt; = 40&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: courier;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;b&gt;Begin&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Print C&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;C ← C + 1&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;End&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: courier;&quot;&gt;Stop&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://codeisinterest.blogspot.com/feeds/7082532047631756495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/example-of-step-form.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/7082532047631756495'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/7082532047631756495'/><link rel='alternate' type='text/html' href='https://codeisinterest.blogspot.com/2021/04/example-of-step-form.html' title='Examples of step-form ( with solution )'/><author><name>Coding Is Interesting !!</name><uri>http://www.blogger.com/profile/05283200021726666258</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-PzAi50G7ryV5zdKeA0J9OgpTOrj42czD-TTaiYh7Vnc9iCYTL00-etbLn-kb4ibAw8kLvlGaHtDHAMVjJuDi98eiQrhBuuyMyw4e8wet8HvjOS824IIjxecZtFnarwKsOmZxfDeR5D-9/s72-w400-h233-c/Step-form+example.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6739582449781716355.post-1872657235805381005</id><published>2021-03-31T21:38:00.007-07:00</published><updated>2021-04-03T22:43:32.543-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><category scheme="http://www.blogger.com/atom/ns#" term="Stating algorithms using Step-form"/><title type='text'>Stating algorithms using Step-form </title><content type='html'>&lt;h2 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Step-form&lt;/span&gt;&lt;/h2&gt;&lt;div&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/AVvXsEjc48lTNRwpPrhUsPVx3sKjIVgXAT0T4D4NPU_heyBjBfAQKxQ3sFpebx6dMtYlbSsa0mV0AkArXLBHxyDgsDGaDhCDwSH9bZikj1HpiHtyqACjWXY1tunKPVDFtHLGcuBlYl9mCBxw72EQ/s443/Step.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;258&quot; data-original-width=&quot;443&quot; height=&quot;233&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc48lTNRwpPrhUsPVx3sKjIVgXAT0T4D4NPU_heyBjBfAQKxQ3sFpebx6dMtYlbSsa0mV0AkArXLBHxyDgsDGaDhCDwSH9bZikj1HpiHtyqACjWXY1tunKPVDFtHLGcuBlYl9mCBxw72EQ/w400-h233/Step.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;Some examples of developing an algorithm using step-form&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #eeeeee; color: #444444; font-family: verdana;&quot;&gt;For illustrating the step-form the following conventions are assumed:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Each algorithm will be logically enclosed by two statements&lt;b&gt; START and STOP.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;To accept data from the user, the &lt;b&gt;INPUT or READ&lt;/b&gt; statements are to be used.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;To display any user message or the content of a variable, a&lt;b&gt; PRINT&lt;/b&gt; statement will be used.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;Note:-&lt;/b&gt; that the &lt;b&gt;message will be enclosed within quotes&lt;/b&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;There are several steps in an algorithm. Each step results in an action. The steps are to be acted upon sequentially in the order they are arranged or directed.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;h4&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;For Example:&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;background-color: #f3f3f3; color: #444444; font-family: verdana;&quot;&gt;Solution The desired algorithm to print the Hello world message is given as follows:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;Steps:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Start&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Print “Hello world”&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Stop&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Operators Used in Algorithm:&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; color: #444444; font-family: verdana;&quot;&gt;The arithmetic operators that will be used in the expressions are&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;(i) ‘←’ ….Assignment (the left-hand side of ‘←’ should always be a single variable)&lt;/b&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Example:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;The expression&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt; &lt;b&gt;x ← 6&amp;nbsp;&lt;/b&gt;&lt;/span&gt; &amp;nbsp; means that a&amp;nbsp; &amp;nbsp;&lt;b&gt;value&amp;nbsp; &amp;nbsp;6&amp;nbsp; is assigned to the variable x&lt;/b&gt;. In terms of memory storage, it means a &lt;b&gt;value of&amp;nbsp; 6 is stored at a location in memory that is allocated to the variable x&lt;/b&gt;.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;(ii) ‘+’….. Addition&lt;/b&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Example:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;The expression &lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;z&amp;nbsp; ← x + y&lt;/b&gt;&amp;nbsp; &amp;nbsp;means the value contained in variable x&amp;nbsp; and the value contained in variable y is added and the resulting value obtained is assigned to the variable z.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;(iii) ‘–’….. Subtraction&lt;/b&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Example:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;The expression &lt;b&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;z ←&amp;nbsp; x – y&lt;/span&gt;&amp;nbsp;&lt;/b&gt; &amp;nbsp;means the value contained in variable y&amp;nbsp; is subtracted from the value contained in variable x and the resulting value obtained is assigned to the variable z&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;(iv) ‘*’….. Multiplication&lt;/b&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Example:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Consider the following expressions written in sequence:&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;x ← 5&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;y ← 6&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;z ←&amp;nbsp; x * y&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;The result of the multiplication between x and y is 30. This value is therefore assigned to z.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;(v) ‘/’….. Division&lt;/b&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Example:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;The following expressions written in sequence illustrates the meaning of the division operator :&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;x ← 10&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;y ← 6&amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;Z ← x/y&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;In propositions, the commonly used relational operators will include&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;(i) ‘&amp;gt;’ …..&amp;nbsp; Greater than&amp;nbsp; &amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Example:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;The expression &lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;x &amp;gt; y&lt;/b&gt;&amp;nbsp; means if the value contained in x is larger than that in y then the outcome of the expression is true, which will be taken as 1. Otherwise, if the outcome is false then it would be taken as 0.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;(ii) ‘&amp;lt;=’ …..Less than or equal to&amp;nbsp; &lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Example:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;The expression&lt;b&gt; &lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;x &amp;lt;= y&lt;/span&gt;&lt;/b&gt; implies that if the value held in x is either less than or equal to the value held in y then the outcome of the expression is true and so it will be taken as 1.&amp;nbsp; But if the outcome of the relational expression is false then it is taken as 0.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;(iii) ‘&amp;lt;’ …… Less than&lt;/b&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Example:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Here the expression &lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;x &amp;lt; y&lt;/b&gt;&amp;nbsp; implies that if the value held in x is less than that held in y then the relational expression is true, which is taken as 1, otherwise the expression is false and hence will be taken as 0.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;(iv) ‘=’ ……&amp;nbsp; Equality&amp;nbsp;&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Example:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;The expression &lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;x = y&lt;/b&gt;&amp;nbsp; means that if the value in x and that in y are the same then this relational expression is true and hence the outcome is 1 otherwise the outcome is false or 0.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;(v) ‘&amp;gt;=’ ……&amp;nbsp; Greater than or equal to&amp;nbsp;&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Example:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;The expression &lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;x &amp;gt;=&amp;nbsp; y&lt;/b&gt;&amp;nbsp; implies that if the value in x&amp;nbsp; is larger or equal to that in y then the outcome of the expression is true or 1, otherwise it is false or 0.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;(vi) ‘!=’ ……&amp;nbsp; Non- equality&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Example:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;The expression &lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;x !=&amp;nbsp; y&lt;/b&gt; means that if the value contained in x is not equal to the value contained in y then the outcome of the expression is true or 1,&amp;nbsp; otherwise it is false or 0.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;The most commonly used logical operators will be AND, OR, and NOT.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;These operators are used to specify multiple test conditions forming a composite proposition.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;(i)‘AND’…… Conjunction&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;The outcome of an expression is true or 1 when both the propositions AND-ed are true otherwise it is false or 0.&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Example:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Consider the expressions&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;x ← 2&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;y ← 1&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;x = 2&amp;nbsp; AND&amp;nbsp; y = 0&lt;/span&gt;&amp;nbsp; &amp;nbsp;&lt;/b&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;In the above expression, the proposition ‘x = 2’ is true because the value in x is 2.&amp;nbsp; Similarly, the proposition ‘y = 0’ is false as y holds 1 and therefore this proposition is false or 0. Thus, the above expression may be represented as ‘true’ AND ‘false’ the outcome for which is false or 0.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;(ii) ‘OR’ …… Disjunction&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;The outcome of an expression is true or 1 when any one of the propositions OR-ed is true otherwise it is false or 0.&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Example:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Consider the expressions&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;x ← 2&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;y ← 1&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;x != 2 OR y = 0&lt;/b&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Here, the proposition ‘x = 2’ is true since x holds 2 while the proposition ‘y = 0’ is untrue or false. Hence the third expression may be represented as ‘true’&amp;nbsp; OR ‘false’&amp;nbsp; the outcome for which is true or 1.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;(iii) ‘NOT’ …… Negation&lt;/b&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;If the outcome of a proposition is ‘true’, it becomes ‘false’ when negated or NOT-ed.&lt;/span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Example: Consider the expression&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;x ← 2&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;NOT&amp;nbsp; x = 2&lt;/span&gt;&amp;nbsp;&lt;/b&gt; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;The proposition ‘x = 2’ is ‘true’ as x contains the value 2. But the second expression negates this by the logical operator NOT&amp;nbsp; which gives an outcome ‘false’.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Check Examples - &lt;a href=&quot;https://codeisinterest.blogspot.com/2021/04/example-of-step-form.html&quot; style=&quot;background-color: #f3f3f3;&quot; target=&quot;_blank&quot;&gt;CLICK HERE&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://codeisinterest.blogspot.com/feeds/1872657235805381005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codeisinterest.blogspot.com/2021/03/stating-algorithms-using-step-form.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/1872657235805381005'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/1872657235805381005'/><link rel='alternate' type='text/html' href='https://codeisinterest.blogspot.com/2021/03/stating-algorithms-using-step-form.html' title='Stating algorithms using Step-form '/><author><name>Coding Is Interesting !!</name><uri>http://www.blogger.com/profile/05283200021726666258</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc48lTNRwpPrhUsPVx3sKjIVgXAT0T4D4NPU_heyBjBfAQKxQ3sFpebx6dMtYlbSsa0mV0AkArXLBHxyDgsDGaDhCDwSH9bZikj1HpiHtyqACjWXY1tunKPVDFtHLGcuBlYl9mCBxw72EQ/s72-w400-h233-c/Step.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6739582449781716355.post-5893916519640129788</id><published>2021-03-31T21:21:00.007-07:00</published><updated>2021-04-05T19:48:01.599-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><title type='text'> 2.Before learning any programming language you should learn this !</title><content type='html'>&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;What is a variable?&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;font-family: verdana;&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/AVvXsEhz4YsSFp98xM3SLoQPBPQwMQ3NEIv-VEXQXiMhWu5NlUfGxqjSj1Q2mRe_1MIzxaPbdignLDE0fTqARBaV8A6lLaV5BUPaXS9ZBP7ff6N4poYBZ0F238X0_bSiJm1D8ZypFJlDFfUs0ogP/s443/varia.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;258&quot; data-original-width=&quot;443&quot; height=&quot;233&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz4YsSFp98xM3SLoQPBPQwMQ3NEIv-VEXQXiMhWu5NlUfGxqjSj1Q2mRe_1MIzxaPbdignLDE0fTqARBaV8A6lLaV5BUPaXS9ZBP7ff6N4poYBZ0F238X0_bSiJm1D8ZypFJlDFfUs0ogP/w400-h233/varia.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; color: #444444; font-family: verdana;&quot;&gt;Almost every algorithm contains data and usually, the data is ‘contained’ in what is called a variable.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;The &lt;b&gt;variable is a container for a value that may vary during the execution of the program&lt;/b&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;For example the addition of two numbers required two values which are stored in two different variables like value1 and value2.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;So here value1 and value2 are the two different variables, its value may change during program execution.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;Variables and data types :&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;The data used in algorithms can be of different types.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;The simplest types of data that an algorithm might use are&lt;/b&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; color: #444444; font-family: verdana;&quot;&gt;numeric data, e.g., 12, 11.45, 901, etc.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; color: #444444; font-family: verdana;&quot;&gt;alphabetic or character data such as ‘A’, ‘Z’, or ‘This is alphabetic’&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; color: #444444; font-family: verdana;&quot;&gt;logical data, that is, propositions with true/false values&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;Different ways of stating algorithms:&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;There are three ways of stating algorithms:&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;a href=&quot;https://codeisinterest.blogspot.com/2021/03/stating-algorithms-using-step-form.html&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;1.Step-form&amp;nbsp;&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://2.Pseudo-code&quot;&gt;2.Pseudo-code&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://codeisinterest.blogspot.com/2021/04/stating-algorithms-using-flowchart.html&quot; target=&quot;_blank&quot;&gt;3.Flowchart&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://codeisinterest.blogspot.com/feeds/5893916519640129788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codeisinterest.blogspot.com/2021/03/2before-learning-any-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/5893916519640129788'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/5893916519640129788'/><link rel='alternate' type='text/html' href='https://codeisinterest.blogspot.com/2021/03/2before-learning-any-programming.html' title=' 2.Before learning any programming language you should learn this !'/><author><name>Coding Is Interesting !!</name><uri>http://www.blogger.com/profile/05283200021726666258</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz4YsSFp98xM3SLoQPBPQwMQ3NEIv-VEXQXiMhWu5NlUfGxqjSj1Q2mRe_1MIzxaPbdignLDE0fTqARBaV8A6lLaV5BUPaXS9ZBP7ff6N4poYBZ0F238X0_bSiJm1D8ZypFJlDFfUs0ogP/s72-w400-h233-c/varia.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6739582449781716355.post-1285263058806134937</id><published>2021-03-31T00:03:00.008-07:00</published><updated>2021-04-05T19:03:35.181-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><title type='text'> 1.Before learning any programming language you should learn this !</title><content type='html'>&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;In this tutorial, we will learn about &lt;b&gt;basic algorithms&lt;/b&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrfiCRO6FA8-dSrrsDZvcwz0wHIymAQ1LPjIB-vNl_oZ8pTP3xOgAQmC04ycIdlzuLmFfmxAexnj-0ZS6QYXqarMucvQyXtaYuujWDjUAumOFXlEYY2_Iw2waZ-nRM5qqgYqbPMRRKVbQA/s443/alg.png&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;258&quot; data-original-width=&quot;443&quot; height=&quot;233&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrfiCRO6FA8-dSrrsDZvcwz0wHIymAQ1LPjIB-vNl_oZ8pTP3xOgAQmC04ycIdlzuLmFfmxAexnj-0ZS6QYXqarMucvQyXtaYuujWDjUAumOFXlEYY2_Iw2waZ-nRM5qqgYqbPMRRKVbQA/w400-h233/alg.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Before learning any programming language you should learn about basic algorithms which improve your &lt;b&gt;&lt;a href=&quot;https://codeisinterest.blogspot.com/2021/03/why-should-learn-programming-language.html&quot; target=&quot;_blank&quot;&gt;logical thinking&lt;/a&gt;&lt;/b&gt; and &lt;b&gt;&lt;a href=&quot;https://codeisinterest.blogspot.com/2021/03/why-should-learn-programming-language.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;problem-solving skills&lt;/a&gt;&lt;/b&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;First,&lt;/span&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;What is an algorithm?&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;It is &lt;b&gt;an effective procedure for solving a problem in a finite number of steps&lt;/b&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;It is &lt;b&gt;effective&lt;/b&gt;, which means that &lt;b&gt;an answer is found and it has a finite number of steps&lt;/b&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;A well-designed algorithm will always provide an answer; it may not be the desired answer but there will be an answer.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;A well-designed algorithm is also guaranteed to terminate.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;For writing any algorithm, the following has to be known :&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;1.Input&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;2.Task to be performed&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;3.Expected output&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;For example:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Suppose you check your result on any website,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;So first you enter your name or id number on that website.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;Website search your name or id number on their database.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;And you get your rank or marks.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;In this case,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;Input - Your Name/id number&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;The task to be performed - Search for your name/id number&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;Expected output - Your rank&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The key features of an algorithm:-&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;There are three key features in an algorithm.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: verdana;&quot;&gt;1.Sequence (Process)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: verdana;&quot;&gt;2.Decision (Selection)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: verdana;&quot;&gt;3.Repetition (Iteration / Looping)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;1.Sequence (Process) :&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;It means that each &lt;b&gt;step or process in the algorithm is executed in the specified order.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Each process must be in the proper place otherwise the algorithm will fail.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;2.Decision (Selection) - If...then, If...then...else.. :&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;In the algorithm the outcome of a &lt;b&gt;decision is either true or false&lt;/b&gt;, there is no state in between.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The outcome of the decision is based on some conditions that can only result in true or false value.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;For example :&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; color: #444444; font-family: verdana;&quot;&gt;If today is Sunday then holiday.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The general form of decision (if...then...),&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;b&gt;If proposition then process&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;It means, if the proposition is true then execute the process.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;A proposition is a statement, which can only true or false.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The general form of decision (if...then...else..),&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;&amp;nbsp;If proposition then&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;&amp;nbsp; &amp;nbsp; process1&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;&amp;nbsp;else&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;&amp;nbsp; &amp;nbsp;process2&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;It means, If the proposition is true then execute process1 else or otherwise execute process2.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;3.Repetition (Iteration / Looping)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Repetition can be implemented using a construct like,&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;i-Repeat loop&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;ii-While loop&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;iii-If..then..goto.. loop&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;i-Repeat loop&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The repeat loop is used to &lt;b&gt;iterate or repeat a process or sequence until some condition becomes false&lt;/b&gt;.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The general form of the repeat loop is,&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;Repeat&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;&amp;nbsp;process1&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;&amp;nbsp;process2&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;&amp;nbsp;processN&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;Until proposition&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;For example :&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;Repeat&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&amp;nbsp; &amp;nbsp;fill water in the bottle&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&amp;nbsp; &amp;nbsp;Until the bottle is not full&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;In the above example,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;If the bottle is already full at the start of the repeat loop, then filling more water will lead to an overflow.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&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/AVvXsEjcUGo9mv1XYIvMPGHBZQIuYmsovoYH_9vNqkGwBs1OfroIC3FIWlqWwH7viXzFyNoFpt5m_l3CcsMPgF7EiMvTiWEKGqNEANS3CgYtCpcvHqzcbdhhTnEZQGtARVN5hPf4HNyvLIEcMsWN/s476/Overflow.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;314&quot; data-original-width=&quot;476&quot; height=&quot;255&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcUGo9mv1XYIvMPGHBZQIuYmsovoYH_9vNqkGwBs1OfroIC3FIWlqWwH7viXzFyNoFpt5m_l3CcsMPgF7EiMvTiWEKGqNEANS3CgYtCpcvHqzcbdhhTnEZQGtARVN5hPf4HNyvLIEcMsWN/w386-h255/Overflow.png&quot; width=&quot;386&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;This is the &lt;b&gt;drawback of a repeat loop&lt;/b&gt;.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;ii-While loop&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The general form of while loop is,&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;while proposition&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;begin&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;&amp;nbsp; process1&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;&amp;nbsp; process2&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&amp;nbsp; &lt;span style=&quot;background-color: #eeeeee; color: #444444;&quot;&gt;&lt;b&gt;processN&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #eeeeee; color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;end&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;In such a case the while loop is more appropriate. The above example with the while loop is shown as follows:&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&amp;nbsp;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;while the bottle is not full&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&amp;nbsp;fill water in the bottle&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Since the decision about the bottle is full or not is made before filling water, the possibility of an overflow is eliminated.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The while loop finds out whether some condition is true before repeating a process or a sequence of processes.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;If the condition is false, the process or the sequence of processes is not executed.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b&gt;iii-If..then..goto.. loop&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The if .. then goto .. is also used to &lt;b&gt;repeat a process or a sequence of processes until the given proposition is false&lt;/b&gt;.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;In the bottle example, this construct would be implemented as follows:&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;Fill some water in the bottle&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #f3f3f3; font-family: verdana;&quot;&gt;&amp;nbsp; &amp;nbsp;if the bottle not full then goto 1&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;So as long as the proposition ‘bottle not full’ is true the process, ‘ﬁll some water in a bottle’ is repeated.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The general form of if .. then goto .. is:&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;Process1&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;Process2&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;ProcessN&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #eeeeee;&quot;&gt;if proposition then goto Process1.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: verdana; font-size: medium;&quot;&gt;&lt;a href=&quot;https://codeisinterest.blogspot.com/2021/03/2before-learning-any-programming.html&quot; target=&quot;_blank&quot;&gt;Part:- 2&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;</content><link rel='replies' type='application/atom+xml' href='https://codeisinterest.blogspot.com/feeds/1285263058806134937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codeisinterest.blogspot.com/2021/03/1before-learning-any-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/1285263058806134937'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/1285263058806134937'/><link rel='alternate' type='text/html' href='https://codeisinterest.blogspot.com/2021/03/1before-learning-any-programming.html' title=' 1.Before learning any programming language you should learn this !'/><author><name>Coding Is Interesting !!</name><uri>http://www.blogger.com/profile/05283200021726666258</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrfiCRO6FA8-dSrrsDZvcwz0wHIymAQ1LPjIB-vNl_oZ8pTP3xOgAQmC04ycIdlzuLmFfmxAexnj-0ZS6QYXqarMucvQyXtaYuujWDjUAumOFXlEYY2_Iw2waZ-nRM5qqgYqbPMRRKVbQA/s72-w400-h233-c/alg.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6739582449781716355.post-3059207942136432440</id><published>2021-03-29T23:04:00.002-07:00</published><updated>2021-04-05T21:18:24.952-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><category scheme="http://www.blogger.com/atom/ns#" term="Why should learn a programming language (Coding)?"/><title type='text'> Why should learn a programming language (Coding)? Explained easy way</title><content type='html'>&lt;h2 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: verdana;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;These days you listen at least one time a day about code and you are thinking&lt;/span&gt; why should I learn a programming language (Coding)?&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyt6DTNh8J4GkTlfVXj-rzhyphenhyphenlkwqh3U9P8fsuvw75d5onmqpCR2biVoEN0NjH9NnnWHi-2l08fPLswKpvso0k0D6r3ttte11SNN4Ek4CfQNxtysGswbrQrYJyxdUmjrdk5VmWGL0oLuBt9/s443/why+should+learn+programming+langauge.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;258&quot; data-original-width=&quot;443&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyt6DTNh8J4GkTlfVXj-rzhyphenhyphenlkwqh3U9P8fsuvw75d5onmqpCR2biVoEN0NjH9NnnWHi-2l08fPLswKpvso0k0D6r3ttte11SNN4Ek4CfQNxtysGswbrQrYJyxdUmjrdk5VmWGL0oLuBt9/s320/why+should+learn+programming+langauge.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: verdana;&quot;&gt;Plenty of benefits are there in case you study programming for your profession in addition to for your actual real life (issues).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;I recommend what you are studying right now is not matter if you have at least one hour in a day to learn a programming language, please learn.&lt;b&gt; It not helps you only in your career it helps you in your daily life.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;1-Improve logical thinking:&lt;/span&gt;&lt;/h3&gt;&lt;div&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/AVvXsEh5QybEfHlijJzaOZGUcDGS9BMxUGd4ED54RZ5fR-VMoxVKnS3FW7P5o9XbNlgqN-ZFuB8ItzbjUGghTTdDGbS1odU-DlpkAP0bqi-Qg2T_CwRQFHpeNUrbt44V-sBZkwSX0w7YohlbXgJ_/s443/Improve+logical+thinking.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;258&quot; data-original-width=&quot;443&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5QybEfHlijJzaOZGUcDGS9BMxUGd4ED54RZ5fR-VMoxVKnS3FW7P5o9XbNlgqN-ZFuB8ItzbjUGghTTdDGbS1odU-DlpkAP0bqi-Qg2T_CwRQFHpeNUrbt44V-sBZkwSX0w7YohlbXgJ_/s320/Improve+logical+thinking.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;In case you study and do coding it&#39;s going to &lt;b&gt;enhance your logical thinking&lt;/b&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Allow&#39;s take a simple instance:-&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Suppose you visit a weblog and you&#39;re analyzing that and also you need to read extra about that blog, genuinely click on at the (read more) button and you redirect that particular blog.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;At the back of this unique hobby, there are masses of common sense used by the developer, like - while the person clicks in this button person will redirect this site and so on...&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;2-Improve your problem-solving skills:&lt;/span&gt;&lt;/h3&gt;&lt;div&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/AVvXsEhwTaeireAKcia3L_AwfClKiVk1DlbKV689Y_g2fGs-xy8tTRRvN15oElbJ4_EsFKFKBKMreeFv7HG3ooRZknHaFcnMcrPqK8lwpOliz_V1WXtSmtqOIxrMJMAkUAI5ex_v7uARECFEYljC/s443/Improve+Problem+solving.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;258&quot; data-original-width=&quot;443&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwTaeireAKcia3L_AwfClKiVk1DlbKV689Y_g2fGs-xy8tTRRvN15oElbJ4_EsFKFKBKMreeFv7HG3ooRZknHaFcnMcrPqK8lwpOliz_V1WXtSmtqOIxrMJMAkUAI5ex_v7uARECFEYljC/s320/Improve+Problem+solving.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;If you are learning code, you solve lots of questions and build lots of projects.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Since when a project has to be completed in coding, it is told at the beginning that you have to write code to solve such a problem, which will give you the ability to solve a lot of problems in your real life while coding. Which gives a lot of advantages in life.&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;3-Improve focus and concentration:&lt;/span&gt;&lt;/h3&gt;&lt;div&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/AVvXsEgXh86BvnBTKGuI8nqNdWMgBIuWvgBoyjLL20ogH0I-K0JZIn-ly3_h373lyCQhgXQ5YLFn1D-ntAEs4bLzMgpVo2qP0OUu9Kh-AkB4SPk2CQEjLPHDMCqorfEhV2One-EWe4cxBuXRzosg/s443/Improve+focus+and+concentration.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;258&quot; data-original-width=&quot;443&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXh86BvnBTKGuI8nqNdWMgBIuWvgBoyjLL20ogH0I-K0JZIn-ly3_h373lyCQhgXQ5YLFn1D-ntAEs4bLzMgpVo2qP0OUu9Kh-AkB4SPk2CQEjLPHDMCqorfEhV2One-EWe4cxBuXRzosg/s320/Improve+focus+and+concentration.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;When you are coding up, then you will see that after leaving the whole world, you only pay attention to coding, because when coding so happily or keeping in mind the final goal, when you do coding, then your focus is on coding.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;If you are solving questions in coding and get the expected output, you encourage yourself to solve more questions.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;So if you want your focus to be strong, then you must learn to code.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;4-Future is great :&lt;/span&gt;&lt;/h3&gt;&lt;div&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/AVvXsEhw9IDoi8MRx_KgqxyjXQN8087T2JHniSItu_KqZHZvYuINbaA7WmRP8pVzs4fhMdwwfAdroDAZnB6vAkPBOe3Jih0MI3zHyJ1mo5HRQtFdlX7XFxujapStTQhKZ9bedBMQ4mOPXKATwUf0/s443/why+should+learn+programming+langauge+-+future.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;258&quot; data-original-width=&quot;443&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw9IDoi8MRx_KgqxyjXQN8087T2JHniSItu_KqZHZvYuINbaA7WmRP8pVzs4fhMdwwfAdroDAZnB6vAkPBOe3Jih0MI3zHyJ1mo5HRQtFdlX7XFxujapStTQhKZ9bedBMQ4mOPXKATwUf0/s320/why+should+learn+programming+langauge+-+future.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;As I mentioned above these days you listen at least one time a day about code and also listen to stuff like technology is growing, the Future is for programmers, etc...&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;If you look around the world you can see lots of opportunities as a programmer or codder.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;for example -&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;worlds biggest giant companies like - Google, Instagram, Facebook, etc... is made by a programmer.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The ways you can earn money as a coder or developer.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;There are lots of ways to earn money as a coder or developer.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;You can work as a freelancer in-app developer, web developer, software developer, etc.. and earn lots of money.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;You could begin a startup that solves real-existence issues.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;You could educate others and earn money.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;And so on......&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://codeisinterest.blogspot.com/feeds/3059207942136432440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codeisinterest.blogspot.com/2021/03/why-should-learn-programming-language.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/3059207942136432440'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/3059207942136432440'/><link rel='alternate' type='text/html' href='https://codeisinterest.blogspot.com/2021/03/why-should-learn-programming-language.html' title=' Why should learn a programming language (Coding)? Explained easy way'/><author><name>Coding Is Interesting !!</name><uri>http://www.blogger.com/profile/05283200021726666258</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyt6DTNh8J4GkTlfVXj-rzhyphenhyphenlkwqh3U9P8fsuvw75d5onmqpCR2biVoEN0NjH9NnnWHi-2l08fPLswKpvso0k0D6r3ttte11SNN4Ek4CfQNxtysGswbrQrYJyxdUmjrdk5VmWGL0oLuBt9/s72-c/why+should+learn+programming+langauge.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6739582449781716355.post-5386250983179029733</id><published>2021-03-28T04:57:00.011-07:00</published><updated>2021-04-07T01:54:35.794-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basic"/><category scheme="http://www.blogger.com/atom/ns#" term="What Is Programming Language In Simple Words?"/><title type='text'>What Is Programming Language In Simple Words ? Explain Easy Way</title><content type='html'>&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b style=&quot;color: #444444; font-family: verdana;&quot;&gt;An Identical Issue In A Programming Language. Many Human Beings Have Many Questions,&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;In This Blog, We Will Discuss About &lt;b&gt;Programming Languages.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;What&#39;s A Programming Language?&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPXr4NOi7FrioGV7-6j1lJQJPzxmcGQE6JYOxvEuVdwV3o4yCfYrqItp3W9GuIs4xKkE0XrJWOZzCquQyYWTjOvQxDi3lSPu3I034zt-S4iWXc3nucS3BdTndafLKtpjMlSmKaoEvn2thJ/s476/programming+language%252C+binary+language%252C+computer%252C+machine+language%252C+code+intrest.png&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;314&quot; data-original-width=&quot;476&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPXr4NOi7FrioGV7-6j1lJQJPzxmcGQE6JYOxvEuVdwV3o4yCfYrqItp3W9GuIs4xKkE0XrJWOZzCquQyYWTjOvQxDi3lSPu3I034zt-S4iWXc3nucS3BdTndafLKtpjMlSmKaoEvn2thJ/s320/programming+language%252C+binary+language%252C+computer%252C+machine+language%252C+code+intrest.png&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Programming language&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;background-color: #f3f3f3; color: #444444;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;A program is a set of logically related instructions that are arranged in a sequence that directs the computer in solving a problem.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;background-color: #f3f3f3; color: #444444;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;The process of writing a program is called programming.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;A computer can neither think nor make a decision on its own.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;In fact, it is not possible for any computer to independently analyze a given data and ﬁnd a solution on its own.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;It needs instruction that will convey what is to be done.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Allow&#39;s Take An Actual-life Example,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Suppose,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;You&#39;re From Spanish And Also You Want To Speak With An Indian Man Or Woman However You Do Not Know The Hindi Language And The Indian Character Doesn&#39;t Recognize Approximately The Spanish Language. At This Time Both People Assume How Are We Able To Have Interaction? However, You Each Can Engage Effortlessly By Way Of The Usage Of The English Language.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Identical Issue In &lt;b&gt;Programming Language&lt;/b&gt; Computer And &lt;b&gt;Many Machines&lt;/b&gt; Handiest Apprehend In &lt;b&gt;Binary Language &lt;/b&gt;That Is Made Via Best Zero And 1. Human Beings Cannot Without Difficulty Don&#39;t Forget Binary Language So There For Programming Language Invented.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;/p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPWspzIdmwtBT2U6HDSRb2d3WbdXGPlmBh2zitO4bVL943Tdx8XN9qB8Wpf5W7R-pBZtKid598m-AKoVWwTiV6GVVu5b-8TnISA1BzsU5scf83Fqkh1gZGP34T9LXklJpBoqZ7F80C9OpF/s476/1programming+language%252C+binary+language%252C+computer%252C+machine+language.png&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;314&quot; data-original-width=&quot;476&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPWspzIdmwtBT2U6HDSRb2d3WbdXGPlmBh2zitO4bVL943Tdx8XN9qB8Wpf5W7R-pBZtKid598m-AKoVWwTiV6GVVu5b-8TnISA1BzsU5scf83Fqkh1gZGP34T9LXklJpBoqZ7F80C9OpF/s320/1programming+language%252C+binary+language%252C+computer%252C+machine+language.png&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Binary Language&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b style=&quot;background-color: #f3f3f3;&quot;&gt;Programming Language Is A Medium Between Computer And Human So Both Can Easily Engage With Every Other.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;There are a bunch of programming languages.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;Like&lt;b&gt;&amp;nbsp;&lt;/b&gt;=&lt;b&gt; c, c++, c#, java, python, javascript, etc...&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;Also learn about :&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: #444444; font-family: verdana;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://codeisinterest.blogspot.com/2021/04/programming-language-high-level-low.html&quot; target=&quot;_blank&quot;&gt;High-level, Low-level, Compiler vs Interpreter&lt;/a&gt;🔘&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://codeisinterest.blogspot.com/feeds/5386250983179029733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://codeisinterest.blogspot.com/2021/03/what-is-programming-language-in-simple.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/5386250983179029733'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/6739582449781716355/posts/default/5386250983179029733'/><link rel='alternate' type='text/html' href='https://codeisinterest.blogspot.com/2021/03/what-is-programming-language-in-simple.html' title='What Is Programming Language In Simple Words ? Explain Easy Way'/><author><name>Coding Is Interesting !!</name><uri>http://www.blogger.com/profile/05283200021726666258</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPXr4NOi7FrioGV7-6j1lJQJPzxmcGQE6JYOxvEuVdwV3o4yCfYrqItp3W9GuIs4xKkE0XrJWOZzCquQyYWTjOvQxDi3lSPu3I034zt-S4iWXc3nucS3BdTndafLKtpjMlSmKaoEvn2thJ/s72-c/programming+language%252C+binary+language%252C+computer%252C+machine+language%252C+code+intrest.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>