Sunday, August 2, 2009

How do I create a Java method which creates the following pattern?

I'd like to create a Java methid to printout, for a given K%26gt;0, the followinng pattern:





The pattern is for K=3.





0 0 0 1 1 1


0 0 0 1 1 1


0 0 0 1 1 1


1 1 1 0 0 0


1 1 1 0 0 0


1 1 1 0 0 0

How do I create a Java method which creates the following pattern?
Does not look easy. May be you can contact a java expert at websites like http://askexpert.info/

credit cards

No comments:

Post a Comment