Assignemnt #14: More Variables and Printing

Code

 /// Name: Sean Harrison
    /// Period: 7
    /// Program name: MoreVariablesAndPrinting
    /// File Name: MoreVariablesAndPrinting.java
    /// Date Finished: 9/18/2015
    
public class MoreVariablesAndPrinting
{
    public static void main( String[] args )
    {
        String Name, Eyes, Teeth, Hair;
        int Age, Height, Weight;
        double Inch, Pound;
        
        Name= "Sean A. Harrison";
        Age = 16; //not a lie
        Height = 66;  // inches
        Weight = 180; //lbs
        Inch = 2.54;
        Pound= 0.453592;
        Eyes = "Brown";
        Teeth = "White";
        Hair = "Brown";
     

        
        
        System.out.println( "Let's talk about " + Name + "." );
        System.out.println( "He's " + (Height * Inch) + " centimeters tall." );
        System.out.println( "He's " + (Weight * Pound) + " Kilograms." );
        System.out.println( "Actually, thats 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 cofee." );
        System.out.println( "If I add " + Age + "," + Height + ", and " + Weight + " I get " + (Age + Height + Weight) + "." );
        }
    }
        
        

        
 

Picture of the output

Assignment 14