getting my homework in late
So now I have a new reason for not posting in a while, my homework is having a hard time make it turned in on a reasonable basis. The downside for my dear readers is that my homework has shifted from "make Quakebots do stuff" to "learn Prolog". So I'm only including this for completeness.
So having said that, my two assingments in Prolog, one was to find the largest element in a list (using recursion), and the other, given a list of numbers, find the numbers not in that list, within the mininum and maximum. I.e., given [4, 5, 6, 10] you should return [7, 8, 9].
However, things look up for you, as my next assignment is titled "Kill the Tofu!" The downside (for me) is that it is to be written in Prolog.
Ah yes my code should you want to examine it for any reason.
So having said that, my two assingments in Prolog, one was to find the largest element in a list (using recursion), and the other, given a list of numbers, find the numbers not in that list, within the mininum and maximum. I.e., given [4, 5, 6, 10] you should return [7, 8, 9].
However, things look up for you, as my next assignment is titled "Kill the Tofu!" The downside (for me) is that it is to be written in Prolog.
Ah yes my code should you want to examine it for any reason.
0 Comments:
Post a Comment
<< Home