Update lab_05.2.cpp