Assignment #14 More Variables and Printing

Code

    /// Name: Drew Boxold
    /// Period: 5
    /// Program Name: 14
    /// File Name: MoreVariablesAndPrinting.java
    /// Date Finished: 9/21/2015

    public class MoreVariablesAndPrinting
    {
        public static void main( String[] args )
        {
            String Name, Eyes, Teeth, Hair;
            int Age, Weight;
            double Height;

            Name = "Drew Boxold";
            Age = 6570;                     // not a lie
            Height = 187.96;                // centimeters
            Weight = 2880;                  // oz
            Eyes = "Blue";
            Hair = "Blonde";

            System.out.println( "Let's talk about " + Name + "." );
            System.out.println( "He's " + Height + " centimeters tall." );
            System.out.println( "He's " + Weight + "onces." );
            System.out.println( "Actually, that's not too heavy." );
            System.out.println( "He's got " + Eyes + " eyes and " + Hair + " hair." );

            System.out.println( "If I add " + Age + "in days, " + Height + ", and " + Weight
                + " I get " + (Age + Height + Weight) + "." );
        }
    }
    
    

Picture of the output

Assignment 14