fixed ex11_3_4.cpp

@wgqimut fixed the bug and I improved the formatting. Thx @Queequeg92 and @Mooophy to confirm it. :100: