Question: Language is prolog. 1. (10 marks) Write the corresponding program for the following predicate: translate (L1,L2). to translate a list digits between 0 and 9

Language is prolog.
1. (10 marks) 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
Get step-by-step solutions from verified subject matter experts
