stackofcodes
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
210 views
1 answer
Prolog if
Prolog
0 vote
232 views
1 answer
Translate( 1 2 9 one two nine ) prolog programming
Prolog
2 votes
237 views
1 answer
Prolog assert
Prolog
0 vote
212 views
1 answer
Menu-driven in prolog
Prolog
0 vote
214 views
1 answer
Full adder in prolog
Prolog
Share