GlobalLogic Interview Question

Write a command line program that prints out a pattern.