Frage im Vorstellungsgespräch bei Tata Consultancy Services

Write a program to print a given pattern.