Update Task2.cpp

Dashes deleted