Having no creativity to build problems myself yet trying to train 9 yo buddy in arithmetics, a small application is here to help generate problem to solve to get familiar with operator priorities and basic math. Tweaking code back and forth can make it more or less complex. Regular expression replace by pattern erases all…