C # program for the above approach
using System ; class GFG { static string digits = "0123456789" , sign = " + - " ; static string dot = " . " , ex = " eE " ; static int [ , ] dfa = new int [ 11 , 5 ] ;