Making a table in Java using loops
<p>I have to make a table in Java using loops. It needs to print out 1-78 in one column, then 15-75 every five times (e.g. 15, 20, 55, ... 75) 78 times(as the loop needs to print out a total of 78 values; so the loop needs to iterate 6 times) in the second column, then print out 15-30 every three times (e.g. 15, 18, 21, 24 , ...30)78 times (as the loop needs to print out a total of 78 values; so the loop needs to iterate 13 times), in the third column  and then the number four in the fourth column. 
This is what I have so far:</p>

<pre><code>import java.util.Scanner;
public class Sandbox {


    public static void main(String[] args) { //main method
        int angles = 10; 
        double  cosines =4;
        int meters =12;
        for (int i =1; i&lt;=78;i++){
            System.out.println(i);
        }
        for (int j = 1; j &lt;=6; j++) {
            for (angles =10 ;angles&lt;75;) {
                angles +=5;
                for (meters=12; meters &lt;30;) {
                    meters +=3;
                    int num1= 4;
                    System.out.print( ")" +angles + "|"+ meters) +4);
                }
            }
        }
</code></pre>

<p>This outputs the correct values but prints them in a way such that it will be 1-78 then meters = 30 then the values of 15-75 78 times. </p>