HCLTech Interview Question

Write a program to reverse a string Write a program to find a factorial of a number.