In this you will find some good basic programs of Turbo Prolog 2.0 You will find programs with output of given topics :
also find PDF of this here : https://www.slideshare.net/soham28/turbo-prolog-20
Cut predicate -> Cut1.PRO, Cut2.PRO, Cutmain.PRO programs
Fail predicate -> Fail1.PRO, Fail2.PRO, FailMain.PRO programs
input -> readln , readchar , readreal , readint predicates -> Readchar.PRO, Readln.PRO programs
output -> write , writef -> Writef.PRO programs
List Programs -> LIstDelete.PRO, ListAppend.PRO, ListEvenNumber.PRO, ListMax.PRO, ListMember.PRO, ListOddNumber.PRO, ListReverse.PRO, ListSum.PRO, ListVowelCount.PRO, ListWrite.PRO, ListWriteUser.PRO
Print given input -> PrintInput.PRO program
Print range of integer numbers -> PrintRange.PRO program
Maximum out of 2,3 integers -> MaxOf2.PRO, MaxOf2.PRO program
Minimum out of 3 integers -> MinOf3.PRO program
go predicate program -> GoPredicate.PRO'
Find Power of given number -> FindPower.PRO
Find Factorial of given number -> Factorial.PRO, FactorialBy3.PRO
Compound Object programs -> CompoundObject.PRO, CompoundObject1.PRO
Check for digit, lowercase, uppercase, symbol -> CheckDigit.PRO
Check for username and password -> Login.PRO
Repeat Predicate -> Repeat.PRO, WithoutRepeat.PRO
String operations -> StrConcat.PRO, StrFrontstr.PRO, StrFronttoken.PRO, Str_isname.PRO, Str_len.PRO
Tower of hanoi program -> TowerOfHanoi.PRO