Infosys Interview Question

Core java and One simple program on printing pattern