Basic Output

1. Using write versus writeln


A new line is not added at end of each write().

      
    

A new line is added at end of each writeln().

      
    

Note: A pre element is needed to see a new line character


2. Using an alert to create a message box pop up