Assignemnt #12 Using Variables

Code

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

Picture of the output

Assignment 5