<?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-2759919762892846693</atom:id><lastBuildDate>Fri, 25 Oct 2024 06:25:23 +0000</lastBuildDate><category>C Program To Find Armastrong Number of a Number</category><category>C Program To Find Largest Number In An Array Using Function</category><category>C Program To Find Sum Of Two Integers</category><category>C Program to Convert A String From Lower TO Upper Letters And Vice-Versa</category><category>First C Program</category><category>Program To Find Simple Interest</category><category>Sample C Program</category><title>C PROGRAMS WORLD</title><description>A Place Of Collection of Own Created C Programs In User Understandable Steps..</description><link>http://cprogramsworld.blogspot.com/</link><managingEditor>noreply@blogger.com (SPATiL)</managingEditor><generator>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2759919762892846693.post-1622591297748495595</guid><pubDate>Sun, 13 Mar 2011 09:44:00 +0000</pubDate><atom:updated>2011-03-13T01:55:22.145-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C Program To Find Armastrong Number of a Number</category><title>C Program To Find Armastrong Number of a Number</title><description>/* C Program To Find Armastrong Number of a Number */ &lt;br /&gt;&lt;br /&gt;#include&lt; stdio.h&gt;&lt;br /&gt;#include&lt; conio.h&gt;&lt;br /&gt;#include&lt; math.h&gt;&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;long int d1,d2,d3;&lt;br /&gt;int i,temp;&lt;br /&gt;clrscr();&lt;br /&gt;printf(&quot;The armstrong numbers are:\n&quot;);&lt;br /&gt;for(i=1;i&lt;=500;i++)&lt;br /&gt;{&lt;br /&gt;d1=i%10;&lt;br /&gt;temp=i;&lt;br /&gt;temp=temp/10;&lt;br /&gt;d2=temp%10;&lt;br /&gt;d3=temp/10;&lt;br /&gt;if((pow(d1,3)+pow(d2,3)+pow(d3,3))==i)&lt;br /&gt;printf(&quot;%d\n&quot;,i);&lt;br /&gt;}&lt;br /&gt;getch();&lt;br /&gt;}</description><link>http://cprogramsworld.blogspot.com/2011/03/c-program-to-find-armastrong-number-of.html</link><author>noreply@blogger.com (SPATiL)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2759919762892846693.post-7859358287561837922</guid><pubDate>Fri, 19 Feb 2010 10:18:00 +0000</pubDate><atom:updated>2010-02-19T02:19:10.414-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C Program To Find Largest Number In An Array Using Function</category><title>C Program To Find Largest Number In An Array Using Function</title><description>/* C Program To Find Largest Number In An Array Using Function */&lt;br /&gt;&lt;br /&gt;#include&lt; stdio.h&gt;&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;int i,n,a[5],max,min;&lt;br /&gt;clrscr();&lt;br /&gt;printf(&quot;enter the limit\n&quot;);&lt;br /&gt;scanf(&quot;%d&quot;,&amp;n);&lt;br /&gt;printf(&quot;enter the array element \n&quot;);&lt;br /&gt;for(i=0;i&lt;n;i++)&lt;br /&gt;{&lt;br /&gt; scanf(&quot;%d&quot;,&amp;a[i]) ;&lt;br /&gt; }&lt;br /&gt; mn(a,n,max,min);&lt;br /&gt; getch();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;int mn(int *a,int n,int max,int min)&lt;br /&gt;{&lt;br /&gt; int i;&lt;br /&gt; min=max=a[0];&lt;br /&gt; for(i=1;i&lt;=n;i++)&lt;br /&gt; {&lt;br /&gt;  if(a[i]&gt;max)&lt;br /&gt;  {&lt;br /&gt;   max=a[i];&lt;br /&gt;  }&lt;br /&gt;  if(a[i]&lt;min)&lt;br /&gt;  {&lt;br /&gt;  min=a[i];&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt; printf(&quot;maximum=%d&quot;,max);&lt;br /&gt; printf(&quot;minimum=%d&quot;,min);&lt;br /&gt; return 0;&lt;br /&gt; }&lt;br /&gt;</description><link>http://cprogramsworld.blogspot.com/2010/02/c-program-to-find-largest-number-in.html</link><author>noreply@blogger.com (SPATiL)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2759919762892846693.post-3791226912270191807</guid><pubDate>Wed, 17 Feb 2010 03:18:00 +0000</pubDate><atom:updated>2010-02-16T19:24:46.344-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C Program to Convert A String From Lower TO Upper Letters And Vice-Versa</category><title>C Program to Convert A String From Lower TO Upper Letters And Vice-Versa</title><description>/* C Program to Convert A String From Lower TO Upper Letters And Vice-Versa */&lt;br /&gt;&lt;br /&gt;#include&lt; stdio.h&gt;&lt;br /&gt;#include&lt; ctype.h&gt;&lt;br /&gt;#include&lt; conio.h&gt;&lt;br /&gt;void upper(char instr[])&lt;br /&gt;{&lt;br /&gt; int i=0;&lt;br /&gt; while(instr[i])&lt;br /&gt; {&lt;br /&gt;  instr[i]=toupper(instr[i]);&lt;br /&gt;  i++;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void lower(char instr[])&lt;br /&gt;{&lt;br /&gt; int i=0;&lt;br /&gt; while(instr[i])&lt;br /&gt; {&lt;br /&gt;  instr[i]=tolower(instr[i]);&lt;br /&gt;  i++;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt; void main()&lt;br /&gt; {&lt;br /&gt;  char instr[100],inchar;&lt;br /&gt;  clrscr();&lt;br /&gt;  printf(&quot;input the string\n&quot;);&lt;br /&gt;  gets(instr);&lt;br /&gt;  printf(&quot;To upper-or-lower case(u/l)?\n&quot;);&lt;br /&gt;  scanf(&quot;%c&quot;,&amp;inchar);&lt;br /&gt;  &lt;br /&gt;  switch(inchar)&lt;br /&gt;  {&lt;br /&gt;   case &#39;u&#39;:&lt;br /&gt;   case &#39;U&#39;:&lt;br /&gt;     upper(instr);&lt;br /&gt;     break;&lt;br /&gt;   case &#39;l&#39;:&lt;br /&gt;   case &#39;L&#39;:&lt;br /&gt;     lower(instr);&lt;br /&gt;     break;&lt;br /&gt;   default:&lt;br /&gt;    printf(&quot;invalid&quot;);&lt;br /&gt;&lt;br /&gt;  }&lt;br /&gt;  &lt;br /&gt;  printf(&quot;the converted string is...\n&quot;);&lt;br /&gt;  printf(&quot;%s\n&quot;,instr);&lt;br /&gt;  getch();&lt;br /&gt; }</description><link>http://cprogramsworld.blogspot.com/2010/02/c-program-to-convert-string-from-lower.html</link><author>noreply@blogger.com (SPATiL)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2759919762892846693.post-8704909662290562458</guid><pubDate>Thu, 11 Feb 2010 06:13:00 +0000</pubDate><atom:updated>2010-02-10T22:17:38.642-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">C Program To Find Sum Of Two Integers</category><title>C Program To Find Sum Of Two Integer Numbers</title><description>/* C Program to find sum of two integer numbers */&lt;br /&gt;&lt;br /&gt; # include&lt; stdio.h&gt;&lt;br /&gt; # include&lt; conio.h&gt;&lt;br /&gt;   void main()&lt;br /&gt; {&lt;br /&gt;  int a,b,sum;&lt;br /&gt;  clrscr();&lt;br /&gt;  printf(&quot;enter the number\n&quot;);&lt;br /&gt;  scanf(&quot;%d%d&quot;,&amp;a,&amp;b);&lt;br /&gt;  sum=a+b;&lt;br /&gt;  printf(&quot;SUM=%d&quot;,sum);&lt;br /&gt;  getch();&lt;br /&gt;}</description><link>http://cprogramsworld.blogspot.com/2010/02/c-program-to-find-sum-of-two-integer.html</link><author>noreply@blogger.com (SPATiL)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2759919762892846693.post-8197666005772416179</guid><pubDate>Wed, 10 Feb 2010 09:57:00 +0000</pubDate><atom:updated>2010-02-10T01:59:16.199-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Program To Find Simple Interest</category><title>C Program To Find Simple Interest</title><description>/* C Program to find Simple Interest */&lt;br /&gt;#include&lt; stdio.h&gt;&lt;br /&gt;#include&lt; conio.h&gt;&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt; float p,t,r,si;&lt;br /&gt; clrscr();&lt;br /&gt; printf(&quot;Enter the value for principle_amt,time,rate\n&quot;);&lt;br /&gt; scanf(&quot;%f%f%f&quot;,&amp;p,&amp;t,&amp;r);&lt;br /&gt; si=p*t*r/100;&lt;br /&gt; printf(&quot;Simple Interest=%f&quot;,si);&lt;br /&gt; getch();&lt;br /&gt;}</description><link>http://cprogramsworld.blogspot.com/2010/02/c-program-to-find-simple-interest.html</link><author>noreply@blogger.com (SPATiL)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-2759919762892846693.post-4349491257780117827</guid><pubDate>Mon, 08 Feb 2010 06:17:00 +0000</pubDate><atom:updated>2010-02-07T22:23:43.321-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">First C Program</category><category domain="http://www.blogger.com/atom/ns#">Sample C Program</category><title>Sample C Program</title><description>/* Sample C Program */&lt;br /&gt;&lt;br /&gt;#include&lt; stdio.h&gt; // Preprocessor Directive&lt;br /&gt;main() // Main Starts from Here&lt;br /&gt;{&lt;br /&gt;clrscr(); //Clear screen&lt;br /&gt;printf(&quot;WELCOME TO C&quot;); // Print Statement&lt;br /&gt;}</description><link>http://cprogramsworld.blogspot.com/2010/02/sample-c-program.html</link><author>noreply@blogger.com (SPATiL)</author><thr:total>0</thr:total></item></channel></rss>