#include <stdio.h>
int main(){
int a,b,c,d;
printf("Enter Number 1:");
scanf("%d",&a);
printf("Enter Number 2:");
scanf("%d",&b);
printf("Enter Number 3:");
scanf("%d",&c);
if(a>b){ // a >b
printf("Num 1 > 2");
if(a>c){ // a>b>c
printf("and Num 1 > 3 \n");
printf("Num 1 Max\n");
printf("Num 3 Min");
}
else if(a<c){//a>b<c
printf("Num 1 < 3 \n");
printf("Num 3 Max\n");
printf("Num 2 Min");
}
}
else if(b>a){ // b>a
printf("Num 2 > 1 \n");
if(b>c){ // b>a>c
printf("and Num 2 > 3 \n");
printf("Num 2 Max\n");
printf("Num 3 Min");
}
else if(b<c){ //b>a<c
printf("Num 2 < 3 \n");
printf("Num 3 Max\n");
printf("Num 1 Min");
}
}
else if(c>a){//c>a
printf("Num 3 > 1 \n");
if(c>b){//c>a>b
printf("and Num 3 > 2\n");
printf("Num 3 Max\n");
printf("Num 2 Min");
}
else if(c<b){ //c>a<b
printf("Num 3 < 2 \n");
printf("Num 2 Max\n");
printf("Num 1 Min");
}
}
else if(a=b){
if(a>c){
printf("and Num 1,2 > 3 \n");
printf("Num 1,2 Max \n");
printf("Num 3 Min");
}
else if(a<c){
printf("Num 1,2 < 3 \n");
printf("Num 3 Max\n");
printf("Num 1,2 Min");
}
}
else if(a=c){
if(a>c){
printf("and Num 1,3 > 2 \n");
printf("Num 1,3 Max\n");
printf("Num 2 Min");
}
else if(a<c){
printf("Num 1,3 < 2 \n");
printf("Num 3 Max\n");
printf("Num 1,3 Min");
}
}
else if(c=b){
if(c>a){
printf("cnd Num 2,3 > 1 \n");
printf("Num 2,3 Max\n");
printf("Num 1 Min");
}
else if(c<a){
printf("Num 2,3 < 1 \n");
printf("Num 2,3 Max\n");
printf("Num 1 Min");
}
}
else{
printf("No Num");
}
}