Prolog Practical List
1. Program to demonstrate the use and semantic of rules.
2. Logon example without recursion.
3. Logon example with recursion.
4. Write a program to find the roots of the quadratic equation(for ∆ >0, ∆=0,∆<0).
5. Write a program to find the greatest variable among the three variable.
6. Write a program for finding a factorial of given number (N!).
7. Write a program for generating a Fibonacci series.
8. Write a program to check whether a given number is prime or not. 9. Write a program to demonstrate the fail predicates.
10. Write a program to demonstrate the cut (!) predicates.
11. Write a program to check whether a given number is Armstrong or not.
12. Write a program to find the square root of given number.(Assume your number is square).
13. Write a program to check whether the given number is palindrome or not.
14. Write a program for Medical Diagnosis system.
15. Write a program to check whether the given number is Lucky or not. (Lucky number itself is a prime number and sum of digit of that number is also prime)
Nice list of practical
ReplyDeletePlease upload solution of this practical