Assignemnt #15 - UsingVariables.java

Code

    /// Name: Boris Kazantsev
    /// Period: 6
    /// Program Name: UsingVariables
    /// File Name: UsingVariables.java
    /// Date Finished: 10/19/2015
    
    public class UsingVariables{
        public static void main(String [] args){
            int RoomNum;
            double e;
            String Class;
            
            RoomNum = 104;
            e = 2.71828;
            Class = "Computer Science";
            
            System.out.println("This is room # " + RoomNum);
            System.out.println("e is close to " + e);
            System.out.println("I am learning a bit about " + Class);
        }
    }
    

Picture of the output

Assignment 15