Accenture Interview Question

write palindrome code. and flowchart