The second method is written when the number of elements in each line is the same and is known at the time of using the program . The second method is written when the number of elements in each row is the same and known at the time the program is used . The second method is used if the number of elements in each row is the same and is known at the time the program was written .