Revature Interview Question

Write a program that checks if a string is a palendrome.