0
Without using array in java print TRAIN RAINT AINTR INTRA NTRAI TRAIN
sole this without using array
2 Respostas
+ 6
System.out.println("TRAIN RAINT AINTR INTRA NTRAI TRAIN");
I'm just going to assume this isn't what you wanted, so can you please specify the problem. You want to re-arrange the word by moving the first character over? Orr?
If so, you can use strings, and push the first character over one index, length of the word amount of times.