117 More Number Puzzles

Code

    //Tyler Hart
    //period 5
    //Individual.java
    //More Number Puzzles
    //11/10/2015
    

    import java.util.Scanner;
    
    public class Individual
    {
      public static void main( String[] args )
      {		
        for (  int tens=10; tens<=50; tens = tens + 10 )
        {
          for (  int ones=1; ones<9; ones++ )
          {
            if ((tens+ones )<= 56 )
            {
              int z = tens/10;
              if ( z + ones > 10 )
              System.out.println( z+""+ones+":"+z+"+"+ones+ "="+(z + ones));
            }
          }
        }
      			
      }
    }



    

Picture of the output