Write a program that capitalizes all letters after the last u symbol in a word (all letters after last 'u' should be uppercase) and prints the resulting string.
Getting substrings
The last of u
Report a typo
Sample Input 1:
analogueSample Output 1:
analoguEWrite a program in Kotlin
fun main() {
val string = readln()
// write 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.