C++ | Drawing rectangles and triangles by jexorMedia