William G. Enloe High School

 
 
 

What can I expect?

While it is impossible to give you an accurate example of code and concepts taught and produced during the Computer Science courses, below are examples of the three programming languages used by the various classes offered by the Enloe Computer Science faculty. Each program example below outputs the text "Hello World" to the screen. Information on each of the courses may be found on the course description page.

Turbo Pascal

Program HelloWorld
uses crt;

begin
     write('Hello World');
end.

Turbo C++

#include
void main()

{
     cout<<"Hello World";
}

Java (Eclipse 2.1.3)

package helloWorld
import java.swing.JoptionPane;

public static void main(String[] args) {
     System.out.println("Hello World");
}