Pregunta de entrevista de Chetu

Print triangle pattern and some oops question.