Create ex3_12.cpp