Capgemini interview question

Basic programming in any language