Programming languages
Programming languages provide various ways of specifying programs for computers to run. Unlike narural languages, programming languages are designed to permit no ambiguity and to be concise. They are purely written languages and are often difficult to read aloud. They are generally either translated into machine language by a compiler or an assembler before being run, or translated directly at run time by an interpreter . Sometimes programs are executed by a hybrid method of the two techniques. There are thousands of different programming languages—some intended to be general purpose, others useful only for highly specialized applications.
example by language program fortran :
C
C SAMPLE CALLING PROGRAM FOR THE AUCTION ALGORITHM
C
C THIS DRIVER CREATES A SYMMETRIC ASSIGNMENT PROBLEM
C WITH EQUAL NUMBER OF ROWS AND COLUMNS,
C AND CALLS THE AUCTION SUBROUTINE TO FIND AN
C ASSIGNMENT OF MAXIMAL VALUE.
C
C ******************************************************************
PARAMETER(MAXNODES=10000, MAXARCS=100000)
IMPLICIT NONE
INTEGER N,NA,A,ISMALL,BEGEPS,ENDEPS,CYCLES
INTEGER NUMPHASES,STARTINCR,TEST,PROFIT
INTEGER I,J,IA,ARC,NOASS,ICOST,ABSCOST,CURARC
INTEGER CURCOL,FSTARC,LSTARC,MINCOST,MAXCOST,MCOST
INTEGER FOUT(MAXNODES),COLASS(MAXNODES)
INTEGER ASSIGN(MAXNODES),PCOL(MAXNODES)
INTEGER COST(MAXARCS),END(MAXARCS)
REAL*8 FACTOR,TT1,TT2,TCOST,AVERAGE
COMMON/ARRAYC/COST/ARRAYS/END/ARRAYF/FOUT/BK1/N,A,ISMALL
$ /BK2/CYCLES,AVERAGE,NUMPHASES/ARRAYA/ASSIGN/PCOLA/PCOL
end.