Complete StarTriangle.cpp