Question: prolog code for this Write a program using the PROLOG language to count how many 7 in the list. For example: how_many_7([6,8,5,3],0). How_many_7([5,7,9,7,7,3],3). How_many_ 7([5,1,7,8,7],2)

prolog code for this
prolog code for this Write a program using the PROLOG language to

Write a program using the PROLOG language to count how many 7 in the list. For example: how_many_7([6,8,5,3],0). How_many_7([5,7,9,7,7,3],3). How_many_ 7([5,1,7,8,7],2)

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!