Decentro Interview Question

Another coding question was to print a given pattern.