/**
 * This class converts from inches to centimeters.
 *
 * @author Sara Sprenkle
 *
 */
public class Conversion {  
    
    /**
     * Called when user runs 
     *  java Conversion
     */
    public static void main(String[] args) {
        int numInches = 1;
        double cm_per_inch = 2.540;
        double numCM = numInches*cm_per_inch;
        
        // need to put + in between string literals and variables
        // need to put explicit spaces into string literals
        // Note that Java will automatically convert the ints and doubles
        // to strings
        System.out.println("There are " + numCM + " cm in " + numInches + " inches.");       
        
    }
}
