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
begin
     write('Hello World');
end.

Turbo C++

#include <iostream>
void main() {
     cout << "Hello World";
}

Java (Eclipse Galileo)

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