Assignment #14 and More Variables and Printing

Code

    ///Name: Tim Gibson
    /// Period: 6
    ///Project Name: More variables and Printing
    ///File Name: MoreVariables.java
    ///Date Finished: 9/15/15
    
    public class MoreVariables
    {
        public static void main( String[] args )
        {
            String Name, Eyes, Teeth, Hair;
            int Age, Height, Weight;
            double CmHeight, KgWeight;
            
            Name = "Timothy R. Gibson";
            Age = 17;
            Height = 70; // inches
            Weight = 155; // lbs
            Eyes = "Blue";
            Teeth = "White";
            Hair = "Blonde";
            CmHeight = Height * 2.54;
            KgWeight = Weight / 2.2046;
            
            System.out.println( "Let's talk about " + Name + "." );
            System.out.println( "He's " + Height + "inches (or " + CmHeight + " cm) tall." );
            System.out.println( "He's " + Weight + " pounds. (or " + KgWeight + " kg)" );
            System.out.println( "That's not that heavy." );
            System.out.println( "He's got " + Eyes + " eyes and " + Hair + " hair.");
            System.out.println( "His teeth are usually " + Teeth + " depending on the coffee." );
            
            System.out.println( "If I add " + Age + ", " + Height + ", " + Weight + " I get " + (Age + Height + Weight) + "." );
        }
    }
    
                
    

Picture of the output

Assignment14