Design ideas:
1. Avoid duplication of questions
(1) Call the system time function, the generated expression store, the new expression and the generated formula to compare, if the same does not output, different output
2, can be customized (quantity/printing method)
(1) Prompt the user to enter the number of questions, printing methods, from the keyboard input
3, (1) whether there is multiplication law
Prompt the user before entering whether there is a multiplication method, if not, only the output plus subtraction
(2) whether there are brackets
(3) Range of values
Set the range of values by the user, if the input is not legal, prompt for input errors, please re-enter, in the random generation number to ensure that the random number in the user-set range of values
(4) Increase or decrease with or without negative numbers
If there are no negative numbers, compare the generated two numbers to ensure that the subtraction is not less than the meiosis
(5) The multiplication has no number
First determine whether the divisor is zero, if zero is terminated, if not zero then continue. The two operands that do the division do the remainder operation, if zero, there is no residue
Arithmetic evolutionary version of design ideas