Pergunta de entrevista da empresa Tata Consultancy Services

Q: Write a program to print a triangle, made of "*" , using C++/java