Infosys Interview Question

Related to coding in basic programming