- Reverse a String 1
- Reverse Each Word
- Reverse a Sentence
- Palindrome
- Find Words
- CountIng Search
- Unique Characters
-
Java Sandwich - Anagrams 1
- Anagrams 2
- Counting Search 2
Java String Resources:
Reverse Each Word
Collapse Content
Show Content
Given a sentence of words, can you reverse each word in it? The words should remain in the same order in the sentence.
For example,
The boy ate an apple.
would become:
ehT yob eta na .elppa
Challenge
Reverse the words in a sentence.
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.
Comments
thales
Jul 23, 5:32 AMa solution:
my code