If I want to print a value of counter I but all in the same line, how can I do it? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

If I want to print a value of counter I but all in the same line, how can I do it?

printing format

10th Sep 2017, 10:56 PM
Abdelrahman Hamoda
Abdelrahman Hamoda - avatar
1 Réponse
+ 1
P R I N T L N , see L N ? it means line (new line) , P R I N T instead for same line. and manually System.out.println() for new line.
11th Sep 2017, 11:25 PM
Mikhael Anthony
Mikhael Anthony - avatar