Header Ads

Learn Together, Stay Connected.

ছোট সংখ্যা খুঁজে বের করা-C


#include<stdio.h>
#include<math.h>
int main()
{
int x,y,z;
scanf("%d %d %d",&x,&y,&z);
if(x<y && x<z)
{
printf("%d",x);
}
else if(y<x && y<z)
{
printf("%d",y);
}
else if(z<y && z<y)
{
printf("%d",z);
}
return 0;
}

No comments

Theme images by Dizzo. Powered by Blogger.