Implement 2 DFA’s using prolog.
Budget: $10 – $30 USD
First DFA needs to take a number and process it digit by digit and accept it if it is divisible by 7. To do this you will need 7 states (0,1,2,3,4,5,6) and your alphabet needs to be the 10 possible digits.