Update program1.cpp