Requirement 1: The topic avoids repetition.
The results are checked, and each question is accessed, the newly generated topics are matched, and the duplicates are removed.
Lele: IO stream;
Requirement 2: Can be customized (quantity/printing method);
The number of 30 in the for () loop becomes a parameter Dingzhi from the keyboard input;
Requirement 3:
A is there a multiplication method
The parameter C is controlled: Division c=0; addition C=1; subtraction c=2; multiplication c=3;
Use if to control the user input whether to multiplication method
b whether there are parentheses
The program should be improved into mixed operation; if 0 Cout<<;else cout<<
C Range of values
Prompt statement; new parameter
The parameters A and B are controlled, and the new parameters are used as the control conditions behind the stochastic function.
D plus minus have no negative numbers
Control the contents of case 2; A>b or a<b;
E Division Remainder
Control the contents of case 0;
F Support Score (true score, false score)
Input prompt statement
True score: Result output form A/b output
Whether G supports decimals
Enter the prompt statement;
H can I adjust the interval of each line in the print?
Parameter set a "" is judged by the contents of the parameter set.
The second supplement to the 30-arithmetic problem