Exercise: Reverse Word
Let's have an exercise on reversing a Japanese haiku.
We'll cover the following...
Problem
In this problem, you are expected to write a program that will read a string as the input. It will output a string such that the characters in every word of the input string are reversed but the order of the words is preserved.
Use the following string as the input: “emoclew ot eht evitacude mroftalp”
Access this course and 1400+ top-rated courses and projects.