Assignment # 15 and Using Variables

Code

      /// Name: Tommy Oyuntseren
      /// Period: 7
      /// Program Name: UsingVariables
      /// File Name: UsingVariables.java
      /// Date Finished: 9/24/15
  
    public class UsingVariables
{
    public static void main( String[] args )
    { 
        int RoomNumber;
        double e;
        String Class;
            
        RoomNumber = 113;
        e = 2.71828;
        Class = "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 " + Class);
     }
 }
   

  

Picture of the output

Assignment 15