17.(C) Finding the lower number among three given number
#include<stdio.h>
int main(){
int a,b,c;
printf("Enter the value of \n a\n b\n c\n");
scanf("%d%d%d",&a,&b,&c);
if(a<b && a<c)
{
printf("a is lower number \n");
}
else if (b<a && b<c)
{
printf("b is lower number\n");
}
else {
printf("c is lower number\n");
}
return 0;
}
Comments
Post a Comment