RE: Logic programming with Prolog 07-16-2013, 07:48 PM
#11
First of all excellent work as usual and there is nothing new so from next time when you make a tutorial then please include the following words by default just the way some packages are automatically included in Java (ex. java.lang )
Hope you understood mam
I have read it completely and have done some quick tests. Having a bit problem with lists though but I would study a bit more online then I will ask you
miling:
The two links that you have provided has some problems because at the end of the links ')' is also include in the links which is giving a wrong page. Please include a space before them.
Here copy and paste :-
Homework :-
Output :-
![[Image: prolog_hw_deque.png]](http://i1066.photobucket.com/albums/u409/UNIVERSAHACKERS/prolog_hw_deque.png)
Code:
Excellent thread, great tutorial. You are heavenly and your tutorial is very well explained, great effort by you. Thank you for taking the time to write this. Thank you for everything! :smiling:.Hope you understood mam

Spoiler:
Having a little fun learning :lol:, Please don't mind!
I have read it completely and have done some quick tests. Having a bit problem with lists though but I would study a bit more online then I will ask you
miling:The two links that you have provided has some problems because at the end of the links ')' is also include in the links which is giving a wrong page. Please include a space before them.
Here copy and paste :-
Quote:(https://en.wikipedia.org/wiki/Watson_computer )
(benchmark: http://www.stups.uni-duesseldorf.de/ProB..._Prolog%3F )
Homework :-
Code:
factorial(0,1).
factorial(N,F) :- N>0, N2 is N-1, factorial(N2,F1), F is N*F1.Output :-
Spoiler:
![[Image: prolog_hw_deque.png]](http://i1066.photobucket.com/albums/u409/UNIVERSAHACKERS/prolog_hw_deque.png)
![[Image: OilyCostlyEwe.gif]](http://fat.gfycat.com/OilyCostlyEwe.gif)


![[+]](https://sinister.li/images/modern/collapse_collapsed.png)
![[Image: 2YpkRjy.png]](http://i.imgur.com/2YpkRjy.png)
![[Image: qJweLN6.jpg]](http://i.imgur.com/qJweLN6.jpg)
![[Image: b1jfgoz.jpg]](http://i.imgur.com/b1jfgoz.jpg)