Powered By Blogger

Monday, May 4, 2009

C Programming

#include
#include
void main()
{
int a,b,c,min,max;
clrscr();
printf("Enter the two value:");
scanf("%d %d",&a,&b);
if(a
{
min=a;max=b;
}
else
{
min=b;max=a;
}
while(min!=0)
{
c=min;min=max%min;max=c;
}
printf("Ga sa gu %d",max);
getch();
}

0 comments:

About This Blog

This is an important blog about updated news about computer science and technology.

Blog Archive

Visitors

  © Free Blogger Templates Blogger Theme II by Ourblogtemplates.com 2008

Back to TOP