small projects with kotlin.
Clone the repository:
git clone https://github.com/michaelrodriguess/kotlin-in-pratice.git
Before you start, make sure you have the following tools installed:
- Java JDK: Kotlin requires the Java JDK. Check that you have Java installed by running the following command in the terminal:
java -version
If Java is not installed, download and install it from the official Java website.
- Kotlin and Kotlinc: Check that Kotlin is installed using:
kotlinc -version
If Kotlin is not installed, you can download and install it by following the instructions on the official Kotlin website.
- Nada ainda pai?
- Nada ainda pai?
- Navigate to the directory is-this-palindrome
- Run script to compile code and execute app
# returns 'subi no onibus é um palíndromo'
./is-this-palindrome "subi no onibus"
# returns 'hello não é um palíndromo mano'
./is-this-palindrome "hello"
# returns 'A base do teto desaba é um palíndromo!'
./is-this-palindrome "A base do teto desaba"