Assignemnt #14 and More Variables And Printing

Code

    ///Name: Daniel Tiffany-Appleton
    ///Period: 7
    ///Program Name: More Variables And Printing
    ///File Name: MoreVariablesAndPrinting
    ///Date Finished: 9/15/15
    
    public class MoreVariablesAndPrinting
    {
        public static void main( String[] args )
        {
            String Name, Eyes, Teeth, Hair;
            int Age, Height, Weight;
            double Centimeters, Kilos;
    
            Name = "Daniel R. Tiffany-Appleton";
            Age = 16;     // not a lie
            Height = 72;  // inches
            Weight = 250; // lbs
            Centimeters = Height * 2.54;
            Kilos = Weight * 0.453592;
            Eyes = "Hazel";
            Teeth = "White";
            Hair = "Brown";
    
            System.out.println( "Let's talk about " + Name + "." );
            System.out.println( "He's " + Height + " inches " + "(" + (Centimeters) + "cm" + ")" + "." );
            System.out.println( "He's " + Weight + " pounds " + "(" + (Kilos) + "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

Assignment 14