Write a program that reads a number and outputs its last digit.
Integers in action
The last digit of a number
Report a typo
Sample Input 1:
425Sample Output 1:
5Write a program in Kotlin
fun main() {
// put your code here
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.