Update ex10_24.cpp

Ask " greater   than"
In the origin codes,return "greater" and "equal"
Merge pull request #86 from shbling/patch-9

Update ex10_24.cpp