1. After the formal parameters are passed to the function with the function of modifying data elements, it needs to be done 入参合理性检查;
2. To determine the data element to be modified 位置在顺序表中是否合理, the content of the if conditional statement is consistent with the deletion function at any position;
Method 2:
数据元素的值Modify according to the sequence table , the code is as follows:
1. Same as method 1, after the formal parameter is passed to the function with the function of modifying the data element, it needs to be done 入参合理性检查;
2. while循环或者for循环After finding the value of the data element to be modified by the method that can be used, 新值赋值于旧值just change it;
3. In this function 定义的count变量, it is used 记录in the sequence table 有无所要修改的值;