Cognizant interview question

Technical test - Programming Numeracy Mathematics