myCompiler myCompiler
Deutsch English Español Français Italiano 日本語 한국어 Nederlands Polski Português
Recent
Login Sign up
Recent
Login Sign up
S

@sandeep5

basic palindrome

Swift
3 years ago
var Name = "NITIN" if String(rName.reversed()) == rName { print("\(rName) is Palindrome") }else{ print("\(rName) is not palindrome") }

r

Swift
3 years ago
var a = "NITIN" var b = "NITIN" if a == b { print("Palindrome") }else{ print("NOT Palindrome") }
Previous Next page

Supported languages

Deno JavaScript NodeJS Python Ruby Go C C++ Java C# TypeScript PHP Bash R Octave (MATLAB) Fortran Lua Erlang SQL MySQL MongoDB Clojure D Perl Kotlin Swift Rust Assembly
© 2026 mycompiler.io
Terms of service Privacy policy Contact us