0
Enter a string and the output should be as follows. Input: This is Hyderabad. O. Output: Siht Si Dabaredyh
first letter will be small and last letter should be capital observe carefully and write the code
2 Réponses
+ 11
Please try it yourself first, if your code doesn't work, show us your code. We can then correct your code. That way you can actually learn.
What you need to do:
*Use a scanner for input
*Remove things after periods & Reverse words in the input
*Make First letters of each word capital
*Output reversed words
0
Interesting indeed