Can anyone tell me how to print this series (in separate lines ) : I IC ICS ICSE | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

Can anyone tell me how to print this series (in separate lines ) : I IC ICS ICSE

31st May 2021, 2:48 PM
Aditya Mishra
2 Answers
+ 2
use a loop, and print at each iteration the required subpart of your last string (until the subpart is less or equal in length of the final string ^^
31st May 2021, 7:04 PM
visph
visph - avatar
- 2
you gotta show your attempt. so who know Java can help you
31st May 2021, 2:50 PM
Rellot's screwdriver
Rellot's screwdriver - avatar