4

Output no duplicate numbers

view full story
linux-howto

http://www.daniweb.com – I'm trying to use for loops to output: 1 2 3 1 3 2 2 1 3 2 3 1 3 1 2 3 2 1 public class Fit1 { public static void main(String args[]) { int side1,side2, side3; for (side1 = 1; side1 <= 3; side1++) { for (side2 = 2; side2 <= 3; side2++) { for (side3 = 3; side3 <= 3; side3++) { System.out.println(side1 + " " + side2 + " " + side3 + " "); } } } } } (General)