1. Avoid duplication of questions
2, can be customized (quantity/printing method)
3, the following parameters can be controlled: whether there is a multiplication method, whether there are brackets, the range of values, plus or minus negative numbers, Division has no number, whether the support score (true score, false score, ...) )、
Whether to support decimals (exactly how many bits), the interval of each line in the print can be adjusted.
Design ideas: 1, the first to save the generated calculation of the use of arrays, you can check whether the string is equal to add a check to generate each calculation is exactly equal function, in the loop process generation call the function, the new generation of the calculation is compared with the generated calculation, if repeated delete the formula.
2, add a parameter, can be input by the user, this is the control condition of the loop output, output the quantity that the user wants, and print.
3, to increase the user selection, choose to enter a different output mode, through the above 3 to determine the conditions, the output conditions, choose their own desired output mode.
(For example, choose what to do, and then how to output it)
The idea of the topic design in class