<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-7057942969654004946</atom:id><lastBuildDate>Wed, 09 Oct 2024 02:49:10 +0000</lastBuildDate><category>C Programming</category><category>Apps</category><category>iPhone SDK</category><title>Infotech Creations</title><description>Technology and Programming Tutorials</description><link>http://infotechcreations.blogspot.com/</link><managingEditor>noreply@blogger.com (Roger)</managingEditor><generator>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7057942969654004946.post-5597223426366106631</guid><pubDate>Tue, 06 Sep 2011 16:48:00 +0000</pubDate><atom:updated>2011-09-06T10:13:34.308-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Apps</category><title>Med Student&#39;s Differentials Dx</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&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/AVvXsEjX8kyDmXD4Fqm7ztthfCF3ImMflyvv60y128r9_P00Lkw-nFVKP8fV2mexeHzssqRgjUZX5tvSRst2M_MJCG2o799KvnaClNTvXuiXjbMRaYz7nrsdlIquggVrwXL8WxMeP7SY4Um43K8/s1600/Med-Students-Differentials-Dx.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX8kyDmXD4Fqm7ztthfCF3ImMflyvv60y128r9_P00Lkw-nFVKP8fV2mexeHzssqRgjUZX5tvSRst2M_MJCG2o799KvnaClNTvXuiXjbMRaYz7nrsdlIquggVrwXL8WxMeP7SY4Um43K8/s200/Med-Students-Differentials-Dx.png&quot; width=&quot;195&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href=&quot;http://itunes.apple.com/ar/app/med-students-differentials/id460236666?mt=8&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;69&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4KM4Y6v-2dIYMGtFl1zaB4PLPBMe8vDfCo9vylEmWHtFchgKO3F6ikhrVi8_WgZtapAhHXEPCgzG4vXxYOjiF36m8UzsVr4wcybQynzetPLt6GMOD65fsmKsL9mAnNQ9WjDz5Hf15fzw/s200/App_Store_Badge.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Diagnostic error is common. The usual accepted rate is between 5% to 15% before the report July 2010 in PEDIATRICS that revealed 45% rate in 1362 pediatricians surveyed.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;There are many reasons leading to a wrong diagnosis. One is failure to ask one or two critical questions because of the natural limitation of our brain to 7 to 9 items at a time. Another reason is lack of time because of many patients scheduled and emergencies.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Suppose you are seeing a nine year old boy with chronic abdominal pain. The differential diagnoses of this has at least 30 diseases or conditions. To rule in or out most of the diseases in the list, I have 17 scripted questions in my EMR. I have trained my assistants how to ask these questions which are mostly answered by YES or No.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Med Student’s Differential Diagnosis is a tool that show the different serious and less serious causes of each of the common symptoms in Pediatrics followed by the best questions to ask.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Each question is followed by a menu of the most likely possible diagnosis if answered YES.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;When all of the questions are asked and answered, the most likely diagnosis will be formed in the mind of the physician.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;With this differential diagnosis app, the chance of making a wrong diagnosis is reduced.&lt;/span&gt;</description><link>http://infotechcreations.blogspot.com/2011/09/med-students-differentials-dx.html</link><author>noreply@blogger.com (Roger)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX8kyDmXD4Fqm7ztthfCF3ImMflyvv60y128r9_P00Lkw-nFVKP8fV2mexeHzssqRgjUZX5tvSRst2M_MJCG2o799KvnaClNTvXuiXjbMRaYz7nrsdlIquggVrwXL8WxMeP7SY4Um43K8/s72-c/Med-Students-Differentials-Dx.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7057942969654004946.post-8331298979848731039</guid><pubDate>Wed, 24 Aug 2011 07:27:00 +0000</pubDate><atom:updated>2011-08-26T19:06:38.288-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C Programming</category><title>Requested Tutorial Basic input with if else Conditions</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;217&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFrv6AbYW74RbP3Apwe2FgjoEWqB3SfmBLCpXbIdoXaKjxTbLmdkWKFWjeMhO3rjVD105CFuYJEBHWnI_CvAK3RGWlQVQKgZ_NCYcQCcfz-pMo2sMTaA7V2QAKB_vgawFqq9jBn8JMfIs/s320/C-Programming_thum.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;A sociological study clasifies a family of three persons as POOR, MIDDLE CLASS and WEALTHY. provided that family income is less than 12,000.00 Php between 12,000.00 and 70,000.00 Php respectively.&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;div&gt;The Problem&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Create a program which acepts family income as input from the user and displays the proper classification of the family. &lt;/div&gt;&lt;div&gt;FAMILY INCOME CLASSIFICATION&lt;/div&gt;&lt;div&gt;FAMILY INCOME  &lt;/div&gt;&lt;div&gt;below 12,000 - POOR &lt;/div&gt;&lt;div&gt;12,000 - 70,000 - MIDDLE CLASS &lt;/div&gt;&lt;div&gt;above 70,000 - WEALTHY&lt;br /&gt;
&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Requested By: Jp Natividad&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #7e4726;&quot;&gt;#include &lt;/span&gt;&amp;lt;stdio.h&amp;gt;&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #7e4726;&quot;&gt;#include &lt;/span&gt;&amp;lt;conio.h&amp;gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;void&lt;/span&gt; &lt;span style=&quot;color: #265a5e;&quot;&gt;main&lt;/span&gt;() {&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;int&lt;/span&gt; income;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;printf&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&quot;Enter your income: &quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;scanf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%d&quot;&lt;/span&gt;,&amp;amp;income);&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;if&lt;/span&gt; (income &amp;lt; &lt;span style=&quot;color: #4800de;&quot;&gt;12000&lt;/span&gt;) {&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;printf&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&quot;Family income classification: POOR \n\n&quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;printf&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&quot;FAMILY INCOME: %d&quot;&lt;span style=&quot;color: black;&quot;&gt;,income);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #cb00a5;&quot;&gt;if&lt;/span&gt;(income &amp;gt;= &lt;span style=&quot;color: #4800de;&quot;&gt;12000&lt;/span&gt; &amp;amp;&amp;amp; income &amp;lt;= &lt;span style=&quot;color: #4800de;&quot;&gt;70000&lt;/span&gt;)&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;printf&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&quot;Family income classification: MIDDLE CLASS \n&quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;printf&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&quot;FAMILY INCOME: %d&quot;&lt;span style=&quot;color: black;&quot;&gt;,income);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #cb00a5;&quot;&gt;if&lt;/span&gt;(income &amp;gt; &lt;span style=&quot;color: #4800de;&quot;&gt;70000&lt;/span&gt;)&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;{&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;printf&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&quot;Family income classification: WEALTHY \n&quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;printf&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&quot;FAMILY INCOME: %d&quot;&lt;span style=&quot;color: black;&quot;&gt;,income);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;}&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</description><link>http://infotechcreations.blogspot.com/2011/08/requested-tutorial-basic-input-with-if.html</link><author>noreply@blogger.com (Roger)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFrv6AbYW74RbP3Apwe2FgjoEWqB3SfmBLCpXbIdoXaKjxTbLmdkWKFWjeMhO3rjVD105CFuYJEBHWnI_CvAK3RGWlQVQKgZ_NCYcQCcfz-pMo2sMTaA7V2QAKB_vgawFqq9jBn8JMfIs/s72-c/C-Programming_thum.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7057942969654004946.post-2781346163914276560</guid><pubDate>Tue, 23 Aug 2011 14:43:00 +0000</pubDate><atom:updated>2011-08-26T19:09:33.091-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C Programming</category><title>Simple Arithmetic Operation using Selective Structure Switch</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFrv6AbYW74RbP3Apwe2FgjoEWqB3SfmBLCpXbIdoXaKjxTbLmdkWKFWjeMhO3rjVD105CFuYJEBHWnI_CvAK3RGWlQVQKgZ_NCYcQCcfz-pMo2sMTaA7V2QAKB_vgawFqq9jBn8JMfIs/s320/C-Programming_thum.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div color=&quot;#7e4726&quot; style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#include &lt;span style=&quot;color: #e00005;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #7e4726; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;#include &lt;span style=&quot;color: #e00005;&quot;&gt;&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;void&lt;/span&gt; main() {&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;int&lt;/span&gt; operand1, operand2;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;char&lt;/span&gt; oprtor;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;printf&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&quot;Enter the first number: &quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;scanf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%d&quot;&lt;/span&gt;,&amp;amp;operand1);&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;printf&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&quot;\nEnter the second number: &quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;scanf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%d&quot;&lt;/span&gt;,&amp;amp;operand2);&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;printf&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&quot;\nEnter operation: &quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;scanf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%s&quot;&lt;/span&gt;,&amp;amp;oprtor);&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;switch&lt;/span&gt; (oprtor) {&lt;/div&gt;&lt;div style=&quot;color: #008c00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;case&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #4800de;&quot;&gt;&#39;+&#39;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:      &lt;/span&gt;//Addition &lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #490085;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	   &lt;/span&gt;&lt;/span&gt;printf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%d %c %d = %d&quot;&lt;/span&gt;,operand1, oprtor, operand2, operand1 + operand2 );&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;break&lt;/span&gt;;     &lt;/div&gt;&lt;div style=&quot;color: #008c00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;case&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #4800de;&quot;&gt;&#39;-&#39;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:      &lt;/span&gt;// Subtraction &lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #490085;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	   &lt;/span&gt;&lt;/span&gt;printf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%d %c %d = %d&quot;&lt;/span&gt;,operand1, oprtor, operand2, operand1 - operand2 );&lt;/div&gt;&lt;div style=&quot;color: #cb00a5; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;break&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #008c00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;case&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #4800de;&quot;&gt;&#39;*&#39;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:      &lt;/span&gt;//Multiplication&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #490085;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	   &lt;/span&gt;&lt;/span&gt;printf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%d %c %d = %d&quot;&lt;/span&gt;,operand1, oprtor, operand2, operand1 * operand2 );&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;break&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;color: #008c00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;case&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #4800de;&quot;&gt;&#39;/&#39;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:      &lt;/span&gt;//Division &lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #490085;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	   &lt;/span&gt;&lt;/span&gt;printf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%d %c %d = %d&quot;&lt;/span&gt;,operand1, oprtor, operand2, operand1 / operand2 );&lt;/div&gt;&lt;div style=&quot;color: #cb00a5; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cb00a5;&quot;&gt;break&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #008c00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;case&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #4800de;&quot;&gt;&#39;%&#39;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;:      &lt;/span&gt;// Modulo, display the Reamaider&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #490085;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	   &lt;/span&gt;&lt;/span&gt;printf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%d %c %d = remainder %d&quot;&lt;/span&gt;,operand1, oprtor, operand2, (operand1) %  operand2 );&lt;/div&gt;&lt;div style=&quot;color: #cb00a5; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cb00a5;&quot;&gt;break&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #cb00a5; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;default&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #cb00a5; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cb00a5;&quot;&gt;break&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;}&lt;/div&gt;&lt;/div&gt;</description><link>http://infotechcreations.blogspot.com/2011/08/simple-arithmetic-operation-using_23.html</link><author>noreply@blogger.com (Roger)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFrv6AbYW74RbP3Apwe2FgjoEWqB3SfmBLCpXbIdoXaKjxTbLmdkWKFWjeMhO3rjVD105CFuYJEBHWnI_CvAK3RGWlQVQKgZ_NCYcQCcfz-pMo2sMTaA7V2QAKB_vgawFqq9jBn8JMfIs/s72-c/C-Programming_thum.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7057942969654004946.post-4538014634388722202</guid><pubDate>Tue, 23 Aug 2011 11:07:00 +0000</pubDate><atom:updated>2011-08-26T19:10:40.750-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C Programming</category><title>Simple Arithmetic Operation using Conditional Structure if &amp; else in C Language</title><description>&lt;div style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;211&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFrv6AbYW74RbP3Apwe2FgjoEWqB3SfmBLCpXbIdoXaKjxTbLmdkWKFWjeMhO3rjVD105CFuYJEBHWnI_CvAK3RGWlQVQKgZ_NCYcQCcfz-pMo2sMTaA7V2QAKB_vgawFqq9jBn8JMfIs/s320/C-Programming_thum.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
This source code perform simple arithmetic operation using &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: 14px;&quot;&gt;&lt;/span&gt;Conditional structure (if &amp;amp; else) and Arithmetic operators ( +, -, *, /, % ).&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: 14px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;p3&quot;&gt;&lt;/div&gt;&lt;div style=&quot;color: #7e4726; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#include &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #e00005;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #e00005;&quot;&gt;stdio.h&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #e00005;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #7e4726; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;#include &lt;span style=&quot;color: #e00005;&quot;&gt;&amp;lt;conio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;void&lt;/span&gt; main() {&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;clrscr();&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;int&lt;/span&gt; operand1, operand2;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;char&lt;/span&gt; oprtor;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;printf&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&quot;Enter the first number: &quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;scanf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%d&quot;&lt;/span&gt;,&amp;amp;operand1);&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;printf&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&quot;\nEnter the second number: &quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;scanf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%d&quot;&lt;/span&gt;,&amp;amp;operand2);&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;printf&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&quot;\nEnter operation: &quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;scanf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%s&quot;&lt;/span&gt;,&amp;amp;oprtor);&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;if&lt;/span&gt; (oprtor == &lt;span style=&quot;color: #4800de;&quot;&gt;&#39;+&#39;&lt;/span&gt;) {  &lt;span style=&quot;color: #008c00;&quot;&gt;//Addition&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #490085;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;printf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%d %c %d = %d&quot;&lt;/span&gt;,operand1, oprtor, operand2, operand1 + operand2);&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else&lt;/span&gt; &lt;span style=&quot;color: #cb00a5;&quot;&gt;if&lt;/span&gt; (oprtor == &lt;span style=&quot;color: #4800de;&quot;&gt;&#39;-&#39;&lt;/span&gt;) {&lt;span style=&quot;color: #008c00;&quot;&gt;// Subtraction &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #490085;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;printf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%d %c %d = %d&quot;&lt;/span&gt;,operand1, oprtor, operand2, operand1 - operand2);&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else&lt;/span&gt; &lt;span style=&quot;color: #cb00a5;&quot;&gt;if&lt;/span&gt; (oprtor == &lt;span style=&quot;color: #4800de;&quot;&gt;&#39;*&#39;&lt;/span&gt;) { &lt;span style=&quot;color: #008c00;&quot;&gt;//Multiplication&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #490085;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;printf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%d %c %d = %d&quot;&lt;/span&gt;,operand1, oprtor, operand2, operand1 * operand2);&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else&lt;/span&gt; &lt;span style=&quot;color: #cb00a5;&quot;&gt;if&lt;/span&gt; (oprtor == &lt;span style=&quot;color: #4800de;&quot;&gt;&#39;/&#39;&lt;/span&gt;) { &lt;span style=&quot;color: #008c00;&quot;&gt;//Division &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #490085;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;printf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%d %c %d = %d&quot;&lt;/span&gt;,operand1, oprtor, operand2, operand1 / operand2);&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/div&gt;&lt;div style=&quot;color: #008c00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;else&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; (oprtor == &lt;/span&gt;&lt;span style=&quot;color: #4800de;&quot;&gt;&#39;%&#39;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;) {  &lt;/span&gt;// Modulo, display the Reamaider&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #490085;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;printf&lt;/span&gt;(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%d %c %d = remainder %d&quot;&lt;/span&gt;,operand1, oprtor, operand2, (operand1) % operand2);&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;}&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;getch();&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;}&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</description><link>http://infotechcreations.blogspot.com/2011/08/simple-arithmetic-operation-using.html</link><author>noreply@blogger.com (Roger)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFrv6AbYW74RbP3Apwe2FgjoEWqB3SfmBLCpXbIdoXaKjxTbLmdkWKFWjeMhO3rjVD105CFuYJEBHWnI_CvAK3RGWlQVQKgZ_NCYcQCcfz-pMo2sMTaA7V2QAKB_vgawFqq9jBn8JMfIs/s72-c/C-Programming_thum.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7057942969654004946.post-7937785363732718476</guid><pubDate>Sun, 21 Aug 2011 07:42:00 +0000</pubDate><atom:updated>2011-08-26T02:11:51.196-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C Programming</category><title>How to find Grade equivalent using C Language</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;165&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC4mQAw4hs2-kg05FlDzM-kyHrxXT-FmeaNq_78xNB5a3_YOXl30yqz8orUnBiPbP6to74xPkWDMrxW9_NIacycpPdryTbkzoQsZH8HvfuAtxb8BOJfXouaj0Iie40YDTxTAeb7BOJbfs/s320/TurboC_IDE.PNG&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;This program was the first requested tutorial on C programming Language using the Turbo C++ IDE. &lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;This source code will determine the corresponding equivalent of your grade using the conditional structure &lt;b&gt;if &amp;amp; else&lt;/b&gt; and selective structure &lt;b&gt;switch&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: 130%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: 130%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 14px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;Requested by: Jp Natividad&lt;br /&gt;
&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #7e4726;&quot;&gt;#include&lt;/span&gt;&amp;lt;stdio.h&amp;gt;&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #7e4726;&quot;&gt;#include&lt;/span&gt;&amp;lt;conio.h&amp;gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #008c00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;float&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; eq;  &lt;/span&gt;// global variable&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #008c00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; main() &lt;/span&gt;// main function&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;{&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;clrscr();&lt;/div&gt;&lt;div style=&quot;color: #008c00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; grade; &lt;/span&gt;// contains the value input&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;   printf(&lt;/span&gt;&quot;enter your grade: &quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;scanf(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;%d&quot;&lt;/span&gt;,&amp;amp;grade);&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;color: #008c00; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;   &lt;/span&gt;//conditions&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;if&lt;/span&gt;(grade &amp;lt;= &lt;span style=&quot;color: #4800de;&quot;&gt;74&lt;/span&gt; ) {&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;FAILED&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;eq = &lt;span style=&quot;color: #4800de;&quot;&gt;5.00&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #cb00a5;&quot;&gt;if&lt;/span&gt; (grade &amp;gt;= &lt;span style=&quot;color: #4800de;&quot;&gt;75&lt;/span&gt; &amp;amp;&amp;amp; grade &amp;lt;=&lt;span style=&quot;color: #4800de;&quot;&gt;100&lt;/span&gt;) {&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;PASSED\n&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;switch&lt;/span&gt; (grade){&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;   &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;75&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;76&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;77&lt;/span&gt;:&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;eq = &lt;span style=&quot;color: #4800de;&quot;&gt;3.00&lt;/span&gt;;   &lt;span style=&quot;color: #cb00a5;&quot;&gt;break&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;   &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;78&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;79&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;80&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;81&lt;/span&gt;:&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;eq = &lt;span style=&quot;color: #4800de;&quot;&gt;2.75&lt;/span&gt;;   &lt;span style=&quot;color: #cb00a5;&quot;&gt;break&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;   &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;82&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;83&lt;/span&gt;:&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;eq = &lt;span style=&quot;color: #4800de;&quot;&gt;2.50&lt;/span&gt;;  &lt;span style=&quot;color: #cb00a5;&quot;&gt;break&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;   &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;84&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;85&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;86&lt;/span&gt;:&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;eq = &lt;span style=&quot;color: #4800de;&quot;&gt;2.25&lt;/span&gt;;  &lt;span style=&quot;color: #cb00a5;&quot;&gt;break&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;   &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;87&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;88&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;89&lt;/span&gt;:&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;eq = &lt;span style=&quot;color: #4800de;&quot;&gt;2.00&lt;/span&gt;;  &lt;span style=&quot;color: #cb00a5;&quot;&gt;break&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;   &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;90&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;91&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;92&lt;/span&gt;:&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;eq = &lt;span style=&quot;color: #4800de;&quot;&gt;1.75&lt;/span&gt;;  &lt;span style=&quot;color: #cb00a5;&quot;&gt;break&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;   &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;93&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;94&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;95&lt;/span&gt;:&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;eq = &lt;span style=&quot;color: #4800de;&quot;&gt;1.50&lt;/span&gt;;  &lt;span style=&quot;color: #cb00a5;&quot;&gt;break&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;   &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;96&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;97&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;98&lt;/span&gt;:&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;eq = &lt;span style=&quot;color: #4800de;&quot;&gt;1.25&lt;/span&gt;;  &lt;span style=&quot;color: #cb00a5;&quot;&gt;break&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;   &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;99&lt;/span&gt;: &lt;span style=&quot;color: #cb00a5;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: #4800de;&quot;&gt;100&lt;/span&gt;:&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;eq = &lt;span style=&quot;color: #4800de;&quot;&gt;1.00&lt;/span&gt;;  &lt;span style=&quot;color: #cb00a5;&quot;&gt;break&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;color: #cb00a5; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;   &lt;/span&gt;default&lt;span style=&quot;color: black;&quot;&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #cb00a5; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;&lt;/span&gt;break&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;}&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/div&gt;&lt;div style=&quot;color: #cb00a5; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;else&lt;span style=&quot;color: black;&quot;&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;printf(&lt;span style=&quot;color: #e00005;&quot;&gt;&quot;invalid\n&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;       printf(&lt;/span&gt;&quot;your equivalent grade is: %.2f&quot;&lt;span style=&quot;color: black;&quot;&gt;,eq);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt; getch();&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;}&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://infotechcreations.blogspot.com/2011/08/how-to-find-grade-equivalent-in-c.html</link><author>noreply@blogger.com (Roger)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC4mQAw4hs2-kg05FlDzM-kyHrxXT-FmeaNq_78xNB5a3_YOXl30yqz8orUnBiPbP6to74xPkWDMrxW9_NIacycpPdryTbkzoQsZH8HvfuAtxb8BOJfXouaj0Iie40YDTxTAeb7BOJbfs/s72-c/TurboC_IDE.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7057942969654004946.post-4885612956427483859</guid><pubDate>Fri, 19 Aug 2011 15:27:00 +0000</pubDate><atom:updated>2011-08-26T02:12:29.181-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C Programming</category><title>What is C Programming Language?</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;216&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFrv6AbYW74RbP3Apwe2FgjoEWqB3SfmBLCpXbIdoXaKjxTbLmdkWKFWjeMhO3rjVD105CFuYJEBHWnI_CvAK3RGWlQVQKgZ_NCYcQCcfz-pMo2sMTaA7V2QAKB_vgawFqq9jBn8JMfIs/s320/C-Programming_thum.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;C Programming Language is a general-purpose computer programming language developed by &lt;a href=&quot;http://en.wikipedia.org/wiki/Dennis_Ritchie&quot;&gt;Dennis Ritchie&lt;/a&gt; between 1969 and 1973 at the Bell Telephone Laboratories for use with the Unix operating system. &lt;br /&gt;
&lt;br /&gt;
C is one of the most widely used programming languages for various reasons. &lt;br /&gt;
&lt;br /&gt;
It has high-level constructs. &lt;br /&gt;
It can handle low-level activities. &lt;br /&gt;
It produces efficient programs. &lt;br /&gt;
It can be compiled on a variety of computers. &lt;br /&gt;
&lt;br /&gt;
The syntax of the C programming language is a set of rules that specifies whether the sequence of characters in a file is conforming C source code. The syntax of textual programming languages is usually defined using a combination of regular expressions. &lt;br /&gt;
&lt;br /&gt;
The syntax of a programming language is the set of rules that define the combinations of symbols that are considered to be correctly structured programs in that language. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;Before you start programing you need a &lt;/span&gt;text editor&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;  there are many text editor available online, the most popular text editor are Vim and Emacs, a text editor with syntax highlighting is recommended as it can make code easier to read. Highlighting can also make it easy to spot syntax errors.&lt;/span&gt;&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
If you choose to use a text editor, you will be required to have a C compiler. The most popular C compilers GNU C Compiler, Visual Studio Express, Borland C Compiler. A compiler is a program that converts C code into executable machine code. &lt;br /&gt;
&lt;br /&gt;
Or you can download an IDE (Integrated Development Environment) over a text editor and compiler. An IDE is a program that combines a set of programs that developers need into one convenient package, usually with a graphical user interface. These programs include a compiler, linker, and text editor. Most popular IDE use CDT, Dev C++,  Xcode and Microsoft Visual Studio Express. &lt;br /&gt;
&lt;br /&gt;
On Microsoft Windows, Microsoft Visual Studio Express, may be helpful for beginners but requires setting up a compilation project before making an executable file. &lt;br /&gt;
&lt;br /&gt;
On Mac OS X, the Xcode IDE provides the compilers needed to compile various source files. &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Sample Program that will print &quot;Hello World&quot; on screen&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
hello.c&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;div&gt;&lt;div style=&quot;color: #7e4726; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;#include &lt;span style=&quot;color: #e00005;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: #cb00a5;&quot;&gt;int&lt;/span&gt; main () {&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 13.0px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #490085;&quot;&gt;printf&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&quot;Hello World! \n&quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #e00005; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cb00a5;&quot;&gt;return&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #4800de;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;}&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;div style=&quot;color: #7e4726; font: 11.0px Menlo; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://infotechcreations.blogspot.com/2011/08/what-is-c-programming-language.html</link><author>noreply@blogger.com (Roger)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFrv6AbYW74RbP3Apwe2FgjoEWqB3SfmBLCpXbIdoXaKjxTbLmdkWKFWjeMhO3rjVD105CFuYJEBHWnI_CvAK3RGWlQVQKgZ_NCYcQCcfz-pMo2sMTaA7V2QAKB_vgawFqq9jBn8JMfIs/s72-c/C-Programming_thum.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7057942969654004946.post-335674608392582439</guid><pubDate>Sun, 14 Aug 2011 03:49:00 +0000</pubDate><atom:updated>2011-08-26T02:22:06.158-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Apps</category><title>Kidney Kard</title><description>&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYJZapiBWcogyQ4X16vEpnXMzX3EqexhosbaiQomrjEaIiWfFBHyJ699BRKsozEAr3Bkb6JlJMC4MjKrnFz92dIC43KLv5FxMc2Y6KQUUfSnUuFZcO_mJeY-6nvH-X1qmHSkvmEDKM-2I/s200/kidney-kard.png&quot; width=&quot;200&quot; /&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;The Kidney Kard is a comprehensive collection of the tools needed to interpret acid-base, renal, and electrolyte problems especially in patients with chronic or acute renal failure.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Medical students, residents, fellows in nephrology or urology, and physicians taking care of patients with kidney problems will find the Kidney Kard useful with a flick or click of their fingers.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;If the stethoscope is for the cardiologist, otoscope for the ENT specialist, and ophthalmologist for the eye doctor, Apple’s Kidney Kard app is for the modern nephrologist.&lt;/span&gt; &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://itunes.apple.com/us/app/kidney-kard/id426098851?mt=8&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;69&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4KM4Y6v-2dIYMGtFl1zaB4PLPBMe8vDfCo9vylEmWHtFchgKO3F6ikhrVi8_WgZtapAhHXEPCgzG4vXxYOjiF36m8UzsVr4wcybQynzetPLt6GMOD65fsmKsL9mAnNQ9WjDz5Hf15fzw/s200/App_Store_Badge.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
</description><link>http://infotechcreations.blogspot.com/2011/08/kidney-kard.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYJZapiBWcogyQ4X16vEpnXMzX3EqexhosbaiQomrjEaIiWfFBHyJ699BRKsozEAr3Bkb6JlJMC4MjKrnFz92dIC43KLv5FxMc2Y6KQUUfSnUuFZcO_mJeY-6nvH-X1qmHSkvmEDKM-2I/s72-c/kidney-kard.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7057942969654004946.post-1146450476302567925</guid><pubDate>Sat, 13 Aug 2011 15:28:00 +0000</pubDate><atom:updated>2011-08-25T08:02:30.978-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Apps</category><title>Parents Diagnostic Aid (PDA)</title><description>&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVo6Vr4oDoVyLgDaK9C4UmFum1cNxTnjjPqV_Os-dK-_Num5jXDryETU49vddkrMVf1HMeo65p0dvY6BewWggTXbFduLhsfzbPx3OQR1FTkY3CWZXtxApjr6mmy89_vAOiJK4P2WUBnoo/s200/parents-diagnostic-aid.png&quot; width=&quot;200&quot; /&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Parent’s Diagnostic Aid, a new tool to help your child&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;A doctor’s office with a wall to wall mothers and children can be hazardous to your child’s health. Why? It is probably one of the leading cause of medical and diagnostic errors.&lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;About 45% of 1362 USA pediatricians, in a survey reported at the July 2010 issue of PEDIATRICS, a popular reading journal of pediatricians, made a wrong diagnosis that harmed children.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;/span&gt; &lt;br /&gt;
&lt;a href=&quot;http://itunes.apple.com/sn/app/parents-diagnostic-aid-pda/id401604767?mt=8#&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;69&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4KM4Y6v-2dIYMGtFl1zaB4PLPBMe8vDfCo9vylEmWHtFchgKO3F6ikhrVi8_WgZtapAhHXEPCgzG4vXxYOjiF36m8UzsVr4wcybQynzetPLt6GMOD65fsmKsL9mAnNQ9WjDz5Hf15fzw/s200/App_Store_Badge.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; There are many reasons why a diagnosis could be wrong. One of them is a crowded waiting room. When there are many parents and children in a &lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;waiting room, some of the medical office staff can become easily stressed, hurried, and cut corners. Such environment is fertile for medical mistakes to happen.&lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;A physician should see a patient for 15 to 20 minutes. This means that in one day 21 to 28 children can be seen in a usual un-hurried situation. However, when there are more than 28 children scheduled, the average time spent with each sick child is reduced to less than the “ideal” time.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;This will expose physicians to stress and adequate time spent with your child is cut short. Occasionally this can cause diagnostic errors. For example an eight year old boy has a chronic abdominal pain sees a doctor. To diagnose this condition, at least 17 questions should be asked in Apple App PDA (Parents Diagnostic Aid) system. However, because the time is now shorter, a physician might not be able to ask all of the critical questions and potentially miss the diagnosis during the visit.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;In a child who has Abdominal Migraine, when seen by a physician who is in a hurry because of over-booking, she or he might forget to ask three important questions to make this diagnosis like: Is there any one in the family with recurrent headache? Is there nose bleeding? Or is there car or sea-sickness?&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;When I was in practice, I often miss the diagnosis of Abdominal Migraine before EMR.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;However, with an Electronic Medical Records with 17 questions embedded in it, I was able to make the right diagnosis of children with Abdominal migraine even though I was overbooked.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Unfortunately, only 30% of physicians in the USA have computers in their examining rooms. In this current environment, medical mistakes including diagnostic errors are common happenings.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;To help this situation, we created an Apple app called Parents Diagnostic Aid (PDA). In this app is a list of scripted questions for the most common problems in children like fever, chronic cough, wheezing, headache, etc. that I used in my pediatric practice at Bangor, Maine. Ideally, I think all physicians should ask all questions that should include serious conditions in their thinking radar. If these questions are not asked, a serious illness can be easily missed resulting to injury or even death.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Suppose your child has a prolonged fever. Before you visit a doctor, you can first read and answer the 12 questions under “Fever” then bring it the doctor.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;With the PDA it will save the physician time in getting the clinical history and at the same time reduce the chance of missing a critical question that might lead to the right diagnosis. All of the important questions are easily available in this new Apple app.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;When all of the questions about Fever is answered and “i” is tapped, a parent will have an idea of the most likely diagnosis of their child before the office visit. A parent can then ask an intelligent question during the visit. By so doing, they can be part of the medical team in the treatment of their love one.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Armed with Parent’s Diagnostic Aid now you can have a basic idea on the possible illness reducing the chance of medical errors which is happening in thousands of children being seen by a physician every day.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;Medical Apps Developer’s Team&lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt; &lt;br /&gt;
&lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;h4 style=&quot;color: #474747; font-size: 1.4em; font-style: normal; font-weight: bold; line-height: 18px; margin-bottom: 8px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; font-weight: normal;&quot;&gt;&lt;h4 style=&quot;color: #474747; font-size: 1.4em; font-style: normal; font-weight: bold; line-height: 18px; margin-bottom: 8px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;What&#39;s New In Version 2.0&lt;/h4&gt;&lt;div class=&quot; &quot; style=&quot;color: #898989; height: auto; margin-bottom: 18px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;We have a better navigation with new icons. &lt;br /&gt;
&lt;br /&gt;
Important Physical examinations of each symptoms in an easy format to read. &lt;br /&gt;
&lt;br /&gt;
Critical tests for each symptoms follow the Physical Examination. &lt;br /&gt;
&lt;br /&gt;
General summary of treatment. &lt;br /&gt;
&lt;br /&gt;
A reliable source of further information and treatment mentioned in the &lt;br /&gt;
description.&lt;/div&gt;&lt;/span&gt;&lt;/h4&gt;</description><link>http://infotechcreations.blogspot.com/2011/08/parents-diagnostic-aid-pda.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVo6Vr4oDoVyLgDaK9C4UmFum1cNxTnjjPqV_Os-dK-_Num5jXDryETU49vddkrMVf1HMeo65p0dvY6BewWggTXbFduLhsfzbPx3OQR1FTkY3CWZXtxApjr6mmy89_vAOiJK4P2WUBnoo/s72-c/parents-diagnostic-aid.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7057942969654004946.post-4598007786909624669</guid><pubDate>Sat, 13 Aug 2011 02:48:00 +0000</pubDate><atom:updated>2011-08-25T07:57:28.637-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Apps</category><title>Smart Baby Program</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8gMb6eMj0v8nXYQZY5HBLEP67EhDZQB1XqRAbw3jlt5pzkAuFiyGr7KRIQ8yNXPbnNcOgllYsq4PD7dZ_8lCg6VDto3NltOWPiZrXvaZtst0oTgBRFFrovmT9HOhfL5wTG697PmMPpzE/s200/smart-baby-prog.png&quot; width=&quot;200&quot; /&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;This App will teach parents how to demonstrate the concepts of counting, adding, subtraction, fraction, and early reading. This is based on research studies that the environment which is the family is the most critical factor in making our children happier and smarter. And if these activities are done with fun, as early as possible, the outcome is a happy and smart child both at home and at the school. These methods has been used in a pediatric office at Bangor, Maine successfully.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot; &quot; style=&quot;color: #898989; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Arial, Verdana, sans-serif; font-size: 12px; height: auto; line-height: 18px; margin-bottom: 18px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Early Education Works, Study Showed &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://itunes.apple.com/us/app/smart-baby-program/id443323766?mt=8&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;69&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4KM4Y6v-2dIYMGtFl1zaB4PLPBMe8vDfCo9vylEmWHtFchgKO3F6ikhrVi8_WgZtapAhHXEPCgzG4vXxYOjiF36m8UzsVr4wcybQynzetPLt6GMOD65fsmKsL9mAnNQ9WjDz5Hf15fzw/s200/App_Store_Badge.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;In a study by Frances Campbell of University of North Carolina, it was shown that early childhood education is an important factor on the success of poor children. “Learning begins in infancy. Education should too,” Campbell stated. &lt;br /&gt;
&lt;br /&gt;
In 1972, Dr. Ramsey, at the Frank Porter Graham Child Development Center enrolled 111 infants from low-income families (98% from black families) and randomly assigned 57 of the babies to high quality child care center. Among those who received the early high quality program, 40% were still in school; but only 20% for those who did not receive the care. &lt;br /&gt;
&lt;br /&gt;
The study showed that 35% of those who receive the early care were still attending or had graduated from a 4-year college course compared to only 14% from those who did not. &lt;br /&gt;
&lt;br /&gt;
Those who were also under the early quality care center had higher scores on both reading and math tests and about 65% of them were employed compared with the 50% of those who did not go under the early quality care. &lt;br /&gt;
&lt;br /&gt;
The early quality child care program called the Abecedarian Project was different from the traditional day care program. Babies were enrolled as early as 6 months old, attended every day for the whole year round and the methods focused on the social, emotional, and cognitive activities. &lt;br /&gt;
&lt;br /&gt;
This study by Dr. Ramsey clearly showed why children should have an early education from infancy. &lt;/div&gt;</description><link>http://infotechcreations.blogspot.com/2011/08/smart-baby-program.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8gMb6eMj0v8nXYQZY5HBLEP67EhDZQB1XqRAbw3jlt5pzkAuFiyGr7KRIQ8yNXPbnNcOgllYsq4PD7dZ_8lCg6VDto3NltOWPiZrXvaZtst0oTgBRFFrovmT9HOhfL5wTG697PmMPpzE/s72-c/smart-baby-prog.png" height="72" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7057942969654004946.post-9014556396050881091</guid><pubDate>Thu, 30 Dec 2010 23:48:00 +0000</pubDate><atom:updated>2011-08-25T07:51:08.431-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">iPhone SDK</category><title>Adding UIButton in the View</title><description>Here is on how to add a button using the Interface Builder. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSnwUMcJ783H2M7kWqQycx8Tn8zXj4Ti_E95RtxCB_YtHu-_MzYntW-p2Xz6jgNoeJa8FB8q5qHXKS6agPjAcCvaQYYvTe_Efy1BPOFISs-J4vEoxiK_HIaw5WfVsgJMx8dK5FyvWNFxw/s1600/Adding-Button.png&quot; width=&quot;286&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. In Xcode in the Groups &amp;amp; File expand the Interface Builder Files (IB) then double click on the NIB file that defines the view to which view you want to add a button.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjU99bziNaZz9j1GGoA9Ad1pkW87nWqIwAZfGPvcGDB49yxMBlOiZOZkA1ZdFwTm_2Xb96k_my6d1q9V_Cb0DYgp_RfzG_JwtIcQLRWKZtRC-eJ0gEBl0WMaU1vmFnpx8k4NdjgMWx5l2s/s400/Adding-Button-2.png&quot; width=&quot;286&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. In IB, select Tools -&amp;gt; Library and drag a UIButton to the view. Resize the button and double click inside to put title &quot;My Button&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;124&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFA7DUKAoq7GOtlZT4T_LXjHfw2UEKxWQpaswYmWw1TZqNsh-Uw5T0qm7f65qTp9uIKi9LVtUfLv6_kCRXpy2o-Lpi0HVNF7ChaR_NafpN_d-PankmygZ350SxE6e2V3ttR3nFc_UtpaU/s320/Adding-Button-3.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Go back to Xcode and on your .h file write this code&lt;br /&gt;
&lt;br /&gt;
-(IBAction)mybutton;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjvwekVKtMggQCdzjQ1XETZjuwG1UNpDPGcunnC8hNO6mLXg5QI0avdM8UPa8TQyxx9hu0JZ1b9_oT9TTWURyuZNwZM3sX6IlEbjhIL7Dz-jp9CUotIQI01bVFiZUxmb9VWIxRF_kCPtM/s320/Adding-Button-4.png&quot; width=&quot;300&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Back to IB then in File&#39;s owner under Receive Action connect &quot;mybutton&quot; on the UIButton that you created earlier.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdso-67Zog_yU9IayuFhyU3c4LKPa1KX-MYSw2UJWay_4hrLdyyuKkatpCtc8nmCSfdnai6Sf6lJA-WrZaa80qqxMbTu3H3SB0Ll740oqnq75UmaPxGrrhAHIWU_zF74tVXlWbaaPBW44/s400/Adding-Button-5.png&quot; width=&quot;286&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. choose the &quot;Touch up Inside option&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKWVs_WQH3puzVDheVU0u-B0HutFR_npHFhcdjCIxm5DbLH0WsYCxzfJgHk6eE8PKa3ROKYS3j7ZJuzDxuB9sGLKeCCzwCaAYyuV1V_0A2Lrf4wYaeVTprkRLjmeIN1BxItu5vna7J_3k/s400/Adding-Button-6.png&quot; width=&quot;286&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. In Xcode in your .m file insert this code&lt;br /&gt;
&lt;br /&gt;
-(IBAction) mybutton{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NSLog(@&quot;My button is now Working!&quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then Build and Run.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0lBiYfwVQzFPWQixOkU0JW4IWjCUGJXjwJ2bAL-Ypj-BjiAs4kP0NDZKl7zFjefhRTL73-WFb_qC7uHhC2MPdAkeGoq4knQUaUXgxCXLLoDP2fLj9UZE982kBu_jrXfTX4NtxyLubk7w/s400/Adding-Button-7.png&quot; width=&quot;286&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. When you hit the button on the simulator the response appear on the debugger Console (&quot;My button is now Working&quot;).</description><link>http://infotechcreations.blogspot.com/2010/12/adding-button-in-view.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSnwUMcJ783H2M7kWqQycx8Tn8zXj4Ti_E95RtxCB_YtHu-_MzYntW-p2Xz6jgNoeJa8FB8q5qHXKS6agPjAcCvaQYYvTe_Efy1BPOFISs-J4vEoxiK_HIaw5WfVsgJMx8dK5FyvWNFxw/s72-c/Adding-Button.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7057942969654004946.post-7188564138015433459</guid><pubDate>Wed, 29 Dec 2010 01:59:00 +0000</pubDate><atom:updated>2011-08-25T07:53:17.640-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">iPhone SDK</category><title>Your First iPhone App - Hello iPhone project</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiftPVSCL3mdioXagD12dvaqNjgaJ3E1NVMg6DKltF1A3_XEvPh0c1CM3eIGVLQietv2Kz_ndcNkwicTd9gMWyv_67qd5zNptuM3i-0xWcvLJmFnVSu3P-_owQImTZJFfD6TDM1IQrZGvU/s320/Hello-iphone.png&quot; width=&quot;300&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lets start the first tutorial, we are going to create our first project the hello iPhone project. In the first tutorial your going to run your Xcode first and now that the Xcode running, create a new Xcode project. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0l8CjFuzmZVVnS45JZe9ZYy_ymQREGd-u9aTtqvbzePrDwPV-EzqKNgnrfg_rTI68WW5ooLIBL212KCXpT2Kmv9nsK8kFxmwNwAPbOeI9X-A7Kp4Cpko0kmeBRRMoNH_p-QKKHSBlO3w/s400/Hello-iphone-2.png&quot; width=&quot;300&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select File -&amp;gt; New Project... then it launch the New Project Wizard. Select iOS and choose the View-based Application template and hit the choose button. Then name your project as Hello_Iphone. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div &amp;gt;=&quot;&quot; class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVsjoFOJXahLF-2xuUG5EIY0ZTmZOs0oHgKHUUTEt54SJ4U31pmXz9ok3CikmvX0Bwh3G0o6VC61dVbPFcngAOMnUBNAR0OaGoe9-aRI9NO_K4yuD9n2iWPSaEs1U2w-IZQp3bnRG8dPo/s400/Hello-iphone-3.png&quot; width=&quot;300&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
The Xcode Project Window will open, on the left side of the window you see the organizational groups under Classes, are the classes you will be working with. Under the Resources folder double click Hello_IphoneViewController.xib to open the another tools. Interface Builder (IB) as the name to implies,  use to create the visual interface enable users to interact with.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div &amp;gt;=&quot;&quot; class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipFfRYebUsNi6snPX66vQcP1wg3KC3Ibri2NGkLMms5tfibYBLIvSiYGaqXjFDj6wWet5JW2o0u0zIkyjf8WMnjkr6aw0xa0Ab5W42va-hN5GbYZaRLXK9wR9OKpCa0UZMZvy9v7Zkmaw/s400/Hello-iphone-4.png&quot; width=&quot;300&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Interface Builder you could see the View and Library Window (if you don&#39;t see the library window you can select Tools -&amp;gt; Library on the Interface Builder menu). Find a label on the Library Window then Drag it to the View.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div &amp;gt;=&quot;&quot; class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilFT4hcnFKXd_FFJeAUj1AyOkBDivbwryAroN059HG2oM7ijn78QfbSJVtsCmUEAlZ7rgHuZv8Bb2_lIBaXpZ-Q89XJTmPpsK9Hp8yugUyHeZOQC9WniJJZZbcaJTRXhAxilvExCHu8ko/s400/Hello-iphone-5.png&quot; width=&quot;300&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Double click the label that you drag into View, then type Hello iPhone. Make sure to center it&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div &amp;gt;=&quot;&quot; class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihFzA0wLLDEdsxnbVwV3umpjNn6C6rdsHN6hcvFGS5Cl2ZXk7x3-68ySc9fFrRcmuKEoWEHxVz7BgMbZOpL2GMu3o2c7cgKqDAk6dGi-Y-wCZ5Y2aOLk9jLuF3Bc0wxzwnQQpvI9kaB00/s400/Hello-iphone-6.png&quot; width=&quot;300&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let&#39;s add more things here in your Inspector Window you can customize the text, to show your Inspector window jus select Tools -&amp;gt; Inspector. if you want to change the Font Size, on the Menu bar Select Font -&amp;gt; Show Fonts and you can also change font-type . if your done for that then save your work File -&amp;gt; Save, Quit Interface Builder. Go to Xcode on Xcode Toolbar do Build and run. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div &amp;gt;=&quot;&quot; class=&quot;separator&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBEtBAmwogzsvQwoH30F9P9STBfniiuQxurYPouKdunHnjMOotfo7Jl7HyVHEoSjjpWU9I_9UubzgcySz8ozVpGfgyyQmoi7Htg1D3ePPdKDIf1iO_jtKhUJOFH0-9BTGvqMJYQY1DB24/s400/Hello-iphone-7.png&quot; width=&quot;300&quot; /&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The output appear on the Simulator.&lt;br /&gt;
Congratulation  you finish your first App.</description><link>http://infotechcreations.blogspot.com/2010/12/free-iphone-and-ipad-programming.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiftPVSCL3mdioXagD12dvaqNjgaJ3E1NVMg6DKltF1A3_XEvPh0c1CM3eIGVLQietv2Kz_ndcNkwicTd9gMWyv_67qd5zNptuM3i-0xWcvLJmFnVSu3P-_owQImTZJFfD6TDM1IQrZGvU/s72-c/Hello-iphone.png" height="72" width="72"/><thr:total>2</thr:total></item></channel></rss>