Jump to content

Programming language

From Simple English Wikipedia, the free encyclopedia
Revision as of 01:49, 22 November 2004 by Astronouth7303 (talk | changes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The language that a programmer uses to write a computer program.

A programming language is not a spoken language, it is a way of describing what the programmer wants the computer to do.

A piece of a computer program is called a piece of code, and the actually writting is called coding.

Example

Here is a simple program written in Visual Basic:

Dim Input
Input = InputBox("How old are you?")
If Not IsNumeric(Input) Then
  MsgBox "That's not a number!"
ElseIf Input < 0 Then
  MsgBox "You can't be less than zero!"
ElseIf Input > 100 Then
  MsgBox "That's old!"
Else
  MsgBox "You're " & Input & " years old."
End If

Some other programming languages are C++, COBOL, Pascal, Delphi, and LOGO.

See Also