Answer:
See explaination
Step-by-step explanation:
A DFA that accepts the language which doesnt have a string with the following substring 'aaa'
The first step towards achieving this is to create DFA that accepts strings with substring aaa.
The next thing is to make all accepting states to non accepting states and non accepting states to accepting states.
Please kindly refer to attachment for step by step explaination.