Assignemnt #15: Using Variables

Code

    /// Name: Cassie
    /// Period: 6
    /// Program Name: Using Variables
    /// File Name: UsingVariables.java
    /// Date Finished: 9/22/2015
    
    class UsingVariables 
    {
        public static void main( String [] args )
        {
            String Word;
            int Room;
            double e;
            
            Word = "Computer Science";
            Room = 113;
            e = 2.71828;
            
            System.out.println( "This is room # " + Room );
            System.out.println( "e is close to " + e);
            System.out.println( "I am learning a bit about " + Word );
        }
    }  
    

Picture of the output

Assignment 15