Update lab02.cpp