Update HelloWorld.cpp

display ten times