Computer Science, asked by jprajakta2000, 8 months ago

construct dfa which accepts all the strings of binary number divisible by 5

Answers

Answered by juraijkhan864
5

Answer:

I need to learn how to design a DFA such that given any number 'n', it accepts binary strings {0, 1} whose decimal equivalent number is divisible by 'n'.

There will be different DFAs for different 'n', but can somebody give a basic approach that I should follow to proceed with any number 0 < n < 10

Similar questions