public class Digits{ public static void main(String[] args){ for(int i = 1; i < 10; i++){ for(int u = 0; u < 10; u++){ System.out.println(i + "" + u + ", " + i + "+" + u + " = " + (i + u)); } } } }