One of the most important parts of an expert system is the inference engine. The inference engine is responsible for resolving the many IF-THEN statements that are found in all expert systems. These IF-THEN statements, which are often rather complicated and interdependant, form the basis for the rules which an expert system follows. An expert system cannot function with out an inference engine.
1) Whether or not it's the person's first time
2) Who the person is that hasn't paid in the longest time.
3) Who the person is that has the greatest outstanding balance
WHOPAYS.BAS has been modified to provide output so that it is possible to see the results of a sample run of the program. The modified program is called WHOPAYS2.BAS.