Enter a string and the output should be as follows. Input: This is Hyderabad. O. Output: Siht Si Dabaredyh | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

26th Apr 2017, 3:26 PM
Kuldeep Kaluvala
Kuldeep Kaluvala - avatar
2 Answers
+ 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
26th Apr 2017, 3:35 PM
Rrestoring faith
Rrestoring faith - avatar
0
Interesting indeed
25th Jan 2018, 2:34 AM
Kelly Jay
Kelly Jay - avatar