Update ex10_24.cpp

Ask " greater   than"
In the origin codes,return "greater" and "equal"