lukew3 / mathgenerator

A math problem generator, created for the purpose of giving self-studying students and teaching organizations the means to easily get access to high-quality, generated math problems to suit their needs.
https://lukew3.github.io/mathgenerator
MIT License
690 stars 178 forks source link

How to generate the mixed problem with the Addition,Subtraction,Multiplication and Division #383

Open howmind opened 2 years ago

howmind commented 2 years ago

Hi everyone: Thank author and all contributors ! I want to generate the math expression like " 6 x (5+23) / (18-4) " I can not find any clue in documents and issues list. How can do it ? Any one help it ?

Thanks

Rabox13 commented 1 year ago

Apply the BODMAS rule, i.e. the Brackets Of Division Multiplication Addition and Subtraction rule. I am new to coding, hence I can only tell you the mathematical method, and not the code.