Infosys Interview Question

All questions were simple