Assignemnt #14 and More Variables And Printing

Code

      ///Name: Dakota Donahue
      ///Period: 5
      ///Project Name: MoreVariablesAndPrinting
      ///File Name: More Variables And Printing
      ///Date: 9/11/2015
      
      public class MoreVariablesAndPrinting
      {
          public static void main( String[] args )
          {
              String name, eyes, teeth, hair;
              int age, height, metricH, weight, metricW;
      
              name = "Joshua P. Davis";
              age = 36;
              height = 74;
              metricH = 188;
              weight = 235;
              metricW = 107;
              eyes = "Hazel";
              teeth = "White";
              hair = "Brown";
      
              System.out.println( "Let's talk about " + name + "." );
              System.out.println( "He's " + height + " inches or " + metricH + " cm tall." );
              System.out.println( "He's " + weight + " pounds or " + metricW + " kg." );
              System.out.println( "Actually, that's not too heavy." );
              System.out.println( "He's got " + eyes + " eyes and " + hair + " hair." );
              System.out.println( "His teeth are usually " + teeth + " depending on the coffee." );
      
              // This line is tricky; try to get it exactly right.
              System.out.println( "If I add " + age + ", " + height + ", and " + weight
                  + " I get " + (age + height + weight) + "." );
          }
      }
    

Picture of the output

ALettertoYourself