devmingle
Home
Categories
Popular Codes
Articles
/
Prolog
/
Hello world prolog
Hello world prolog
Hello world prolog
$ cat hello.pl :- initialization(main). main :- write('Hello World!'), nl, halt. $ gplc hello.pl $ ./hello Hello World!
0
Source:
ingrom.com
Hello world prolog
> ./hw Hello, world! >
-1
Source:
stackoverflow.com
Share
Similar codes
0 vote
202 views
1 answer
Prolog if
Prolog
0 vote
205 views
1 answer
Translate( 1 2 9 one two nine ) prolog programming
Prolog
0 vote
206 views
1 answer
Menu-driven in prolog
Prolog
2 votes
217 views
1 answer
Prolog assert
Prolog
0 vote
202 views
1 answer
Full adder in prolog
Prolog
Share