UsingVariables

Code

 public class UsingVariables
{
    public static void main( String[] args )
    {
        String Room_name;
        double number;
        int Room_number;
        
        Room_name = "Computer Science";
        number = 2.71828;
        Room_number = 113;
        
        System.out.println( "This is room #" + Room_number );
        System.out.println( "e is close to " + number);
        System.out.println( "I am learning a bit about " + Room_name );
    }
}

CreatingVariables

Assignment 15