Design a DFA to accept floating-point numbers of the form +/− n or +/− n.m, where n and m are decimal integers (non-empty strings over the digits…
Design a DFA to accept floating-point numbers of the form +/− n or +/− n.m, where n and m are decimal integers (non-empty strings over the digits {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}).
From the EGCB Assistant Engineer (CSE) 2022 – Written (BUET) exam, question 8 of 8.