WNS-Vuram Interview Question

program based on bit manipulations and pattern printing.