OpenText Interview Question

1.reverse a string without using predefined function 2.print factorial of a number 3.query to fetch highest salary