Assignemnt #14 and More Variables And Printing

Code

///Name: Joshua Bautista
///Period: 6
///Project Name: More Variables And Printing
///File Name: MoreVariablesAndPrinting.java
///Date: 9/17/2015

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

        Name = "Joshua Bautista";
        Age = 17;     // not a lie
        Height = 77;   // inches
        Weight = 77; // lbs
        CentiHeight = 195.58;
        KiloWeight = 34.9266; 
        Eyes = "Orange";
        Teeth = "Orange";
        Hair = "Orange";

        System.out.println( "Let's talk about " + Name + "." );
        System.out.println( "He's " + Height + " inches (or " + CentiHeight + "cm) tall." );
        System.out.println( "He's " + Weight + " pounds (or " + KiloWeight + ") heavy. " );
        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 11