Update ex332.cpp