New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Find out rhyming words from a poem in JAVA program?
2 Answers
+ 2
Firstly, you must check for last two-three letters of last words accordingly. You may use charToArray for breaking through words and several other similar functions.