Assignment #14 and More Variables and Printing

Code

    /// Name: Luke Shin
    /// Period: 7
    /// Program Name: More Variables and Printing
    /// File Name: MoreVariables.java
    /// Date Finished: 9/15/2015

    public class MoreVariables{
        public static void main(String[] args){
            String Name, Eyes, Teeth, Hair;
            int Age, Height, Weight;
            
            Name = "Luke Shin";
            Age = 18;
            Height= 69;
            Weight= 145;
            Eyes= "Brown";
            Teeth= "White";
            Hair= "Brown";
            
            System.out.println("Let's talk about " + Name + ".");
            System.out.println("He's " + Height + " inches " + "("+ (Height / 0.4) + " cm)" + "tall."); // in = cm * 0.39370 = cm * 0.4
            
            System.out.println("He's " + Weight + " pounds " + " (~ " + Math.round((Weight / 2.2)) + "kg) ."); // kg = lb/2.2046 = lb / 2.20
        
            System.out.println("Actually, that's not too light.");
            
            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 + ", and " + Weight + " I get " + (Age + Height + Weight)+".");
            
        }
    }
    
    

Picture of the output

Assignment 14