System.out.printf("%d x %d = %d ",num1,num2,result);
System.out.println(num1+" x "+num2+" = "+result+" ");