Question: Coding to be done on prolog Please write the corresponding program for the following predicate: translate(L1,L2). to translate a list digits between 0 and 9

Coding to be done on prolog

Please write the corresponding program for the following predicate:

translate(L1,L2).

to translate a list digits between 0 and 9 into a list of corresponding of words.

For example:

translate([1,2,9],[one,two,nine]).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!