Capgemini Interview Question

WAP to find max no. from an array.