+ 6
# CHALLENGE :
Write a java program to input the word in string and print it like the one given below as an example : For example: Enter the word: RED //input The pattern of RED is: R E D R E R NOTE:The space should be given in the program as above.
6 Answers
+ 17
With stream:
https://code.sololearn.com/c1C11f5b1X06/?ref=app
+ 16
https://code.sololearn.com/cWDh4goSkMeH/?ref=app
+ 6
https://code.sololearn.com/cw478o36ljnF/?ref=app
+ 4
My code here.
https://code.sololearn.com/c0YaLHhuAgU2/#java
+ 2
https://code.sololearn.com/cMs1HnLynTeH/?ref=app