<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>finding remainder | Student Projects</title>
	<atom:link href="https://studentprojects.in/tag/finding-remainder/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Sun, 20 Sep 2009 04:35:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>C program for finding remainder</title>
		<link>https://studentprojects.in/software-development/c-tutorials/c/number/c-program-for-finding-remainder/</link>
					<comments>https://studentprojects.in/software-development/c-tutorials/c/number/c-program-for-finding-remainder/#respond</comments>
		
		<dc:creator><![CDATA[Editorial Team]]></dc:creator>
		<pubDate>Sun, 20 Sep 2009 04:35:20 +0000</pubDate>
				<category><![CDATA[Number Programs]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[c programs]]></category>
		<category><![CDATA[finding remainder]]></category>
		<category><![CDATA[binary remainder]]></category>
		<guid isPermaLink="false">http://studentprojects.in/?p=783</guid>

					<description><![CDATA[<p>OUTPUT:<br />
enter frame:<br />
1 0 1 1 0 1 0 0<br />
enter generator:<br />
1 0 1 0<br />
remainder is:<br />
0 0 1 0</p>
<p>The post <a href="https://studentprojects.in/software-development/c-tutorials/c/number/c-program-for-finding-remainder/">C program for finding remainder</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>OUTPUT:<br />
enter frame:<br />
1 0 1 1 0 1 0 0<br />
enter generator:<br />
1 0 1 0<br />
remainder is:<br />
0 0 1 0</p>
<pre lang="c" escaped="true" line="1">
#include<stdio.h>
#include<conio.h>
void main()
{
 int  i,j,gen[4],rem[4],frl=8,genl=4,k,k1,fr[11];
 clrscr();
 printf("enter frame:");
 for(i=0;i<frl;i++)
{ 
scanf("%d",&#038;fr[i]);
} 
for(i=frl;i<11;i++)
{ 
fr[i]=0;
}
printf("enter generator:");
 for(i=0;i<4;i++)
 scanf("%d",&#038;gen[i]);
  for(k=0;k<frl;k++)
  {
   if(fr[k]==1)
   {
   k1=k;
    for(i=0,j=k;i<genl;i++,j++)
    {
     rem[i]=fr[j]^gen[i];
    }

    for(i=0;i<genl;i++)
    {
	  fr[k1]=rem[i];
     k1++;
    }
   }
    }
      printf("\nremainder is: ");
      for(i=0;i<4;i++)
     printf("%d",rem[i]);
     getch();
}
</pre>
<p>OUTPUT:<br />
enter frame:<br />
1 0 1 1 0 1 0 0<br />
enter generator:<br />
1 0 1 0<br />
remainder is:<br />
0 0 1 0</p><p>The post <a href="https://studentprojects.in/software-development/c-tutorials/c/number/c-program-for-finding-remainder/">C program for finding remainder</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/software-development/c-tutorials/c/number/c-program-for-finding-remainder/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
