0

How can I print a word as many times as the user wants in java?

1st Apr 2022, 11:08 AM
Amin Moshirian
2 ответов
+ 2
Take a look at loop lessons once.
1st Apr 2022, 11:14 AM
Simba
Simba - avatar
0
And please put Java rather than a question mark in your post's tags ☝ P.S. You can use String.repeat( ) method https://knpcode.com/java/java-basics/java-string-repeat-method/ https://code.sololearn.com/W3uiji9X28C1/?ref=app
1st Apr 2022, 1:03 PM
Ipang