Write a Java program to draw pattern 4

Write a Java program to draw a pattern like mentioned below:

Java Program-  Pattern 4

public class DrawPattern4 {
 
	public static void main(String[] args) {
		for (int a = 1, b = 10, c = 11, d = 20, e = 21, f = 30; a <= 10; a++, b--, c++, d--, e++, f--) {
			System.out.println(a + "  " + b + "  " + c + "  " + d + "  " + e + "  " + f);
		}
	}
}

Author: Mahesh

Technical Lead with 10 plus years of experience in developing web applications using Java/J2EE and web technologies. Strong in design and integration problem solving skills. Ability to learn, unlearn and relearn with strong written and verbal communications.