Update ex12_6.cpp
Merge pull request #100 from shbling/patch-13

Update ex12_6.cpp