Exchange

Report a typo

Write a program that reads a string and prints that string, swapping the first and last characters.

Sample Input 1:

Hellow

Sample Output 1:

welloH
Write a program in Kotlin
fun main() {
// put your code here
}
___

Create a free account to access the full topic