I think it should be going from 0 to less than j. Not less than or equal to j.


import java.util.*;
public class charPerLine {



public static void main(String[] args)throws...