Assignment #15 and Using Variables

Code

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

Picture of the output

Assignment 15