is there any easy way of comparing diff integers ? like
i have four int a=1,b=4,c=1,d=9;
and if i use if else it will be long way is there any sort ways of doing these ?
i need something like
//a is greater
//b is greater
//a and b are equal
//a,b and c are equal
can anyone can help me with this please?