Fix the answer to exercise 5.13
Fix the answer to exercise 5.13

ix under case "1" is not initialized, UB will happen. 
So bring the definition of ix out of switch statement.
Mooophy/Cpp-Primer,Mooophy/Cpp-Primer