Cognizant interview question

Oops conecpt one program in any language