Assignemnt #15

Code

        ///Name: Colin Hinton
        ///Period: 5
        ///Project Name: UsingVariables
        ///File Name: UsingVariables.java
        ///Date Finished: 9/11/2015
        
        class UsingVariables
        {
            public static void main( String[] args)
            {
                
                int room;
                double e;
                String subject;
                
                room= 113;
                e= 2.71828;
                subject="Computer Science";
                
                System.out.println(" This is room# " + room + ".");
                System.out.println(" e is close to " + e + ".");
                System.out.println(" I am learning a bit about " + subject + ".");
            }
        }
    

Picture of the output

Assignment 1