Update ex9_43.cpp

When doing this exercise is not to learn compare