Update ex9_26.cpp

Fix some Bugs