0

Without using array in java print TRAIN RAINT AINTR INTRA NTRAI TRAIN

sole this without using array

16th May 2017, 5:34 PM
katik Saini
katik Saini - avatar
1 Respuesta
+ 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.
16th May 2017, 5:40 PM
Rrestoring faith
Rrestoring faith - avatar