Create 12.c own wrong.

I tried but., somewhere there is a logical error, if you can, resolve it.