Update ifElse.cpp

Remove unnecessary char