Answers for "how to do menu-driven in prolog"

0

menu-driven in prolog

get_action(Choice) :-
        menu('Title',
                [ option_1 : 'Option One'
                , option_2 : 'Option Two'
                , quit     : 'Quit'
                ], Choice).
Posted by: Guest on November-11-2020

Browse Popular Code Answers by Language