Cognizant Interview Question

simple programs on any of the