stackofcodes
Home
Categories
Popular Codes
Articles
/
Prolog
/
Menu-driven in prolog
Menu-driven in prolog
Menu-driven in prolog
get_action(Choice) :- menu('Title', [ option_1 : 'Option One' , option_2 : 'Option Two' , quit : 'Quit' ], Choice).
0
Source:
swi-prolog.org
Share
Similar codes
0 vote
243 views
1 answer
Translate( 1 2 9 one two nine ) prolog programming
Prolog
0 vote
222 views
1 answer
Prolog if
Prolog
-1 vote
231 views
2 answers
Hello world prolog
Prolog
2 votes
246 views
1 answer
Prolog assert
Prolog
0 vote
229 views
1 answer
Full adder in prolog
Prolog
Share