Cybrosys Technologies Interview Question

Write a program to print the given pattern