How to judge the size of three numbers (c programming)