Infosys interview question

Basic cobol question