Wipro Interview Question

pattern making using loops