- 3 Write A Prolog Program To Get A List And Return Sum Of The Even Elements In The List For Example Counting 1 2 1 (13.24 KiB) Viewed 32 times
3-Write a prolog program to get a list and return sum of the even elements in the list. For example ?- counting ([ 1, 2,
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
3-Write a prolog program to get a list and return sum of the even elements in the list. For example ?- counting ([ 1, 2,
3-Write a prolog program to get a list and return sum of the even elements in the list. For example ?- counting ([ 1, 2, 3, 4,5], Q). Q = 6