Write o program to input thee unequals number
and display the second smallest number
Sample Input: 65, 41, 98
Somple output: 65
can any one tell me the output of this programme
Answers
Answered by
1
Answer:
if(a>b && a<c){
printf("%d", a);
}else if(b>a && b<c){
printf("%d", b);
}else if(c>a && c<b){
printf("%d", c);
}
Explanation:
This is the basic logic of the program and yeah, you didn't mension the language,
So I did the program in C language.
Similar questions