1. The topic avoids the repetition realization method:
The results of the experiment in the file, and then find and delete the results of the same question
2. Number of customizations:
First ask how many questions you need, then define a global variable number and keyboard assignment, and customize the quantity with a For loop
3. Is there a multiplication implementation:
Prompts the user if the multiplication method is required
Implemented with the switch structure, 0 means no multiplication required, 1 means multiplication required,
4. Range of values:
Control range can be achieved with rand ()%n
5. Add or subtract with or without negative numbers:
Whether the user needs to add or minus negative numbers, with the switch structure, 0 means that no negative numbers are required, 1 indicates that a negative number is required, no negative numbers are required to control the range of random numbers is positive, and to ensure that minuend is greater than meiosis, you can swap function swap () implementation.
30-Way Random four Operation program 2 design idea in the post-operation of software engineering course