C++
#include <iostream>
int main() {
std::cout << “Hello, world!\\n“;
return 0; }
FORTRAN
program helloworld print *, "Hello world!" end program helloworld
ASCII
48 65 6C 6C 6F 2C 20 77 6F 72 6C 64 21 0D 0A
COBOL
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO-WORLD.
ENVIRONMENT DIVISION.
DATA DIVISION.
PROCEDURE DIVISION.
DISPLAY “Hello, World!”.
STOP RUN.