Create ex3.2.cpp