var Name = "NITIN" if String(rName.reversed()) == rName { print("\(rName) is Palindrome") }else{ print("\(rName) is not palindrome") }
To embed this program on your website, copy the following code and paste it into your website's HTML: