
CodePudding user response:
I just want to use this function to check the accuracy of input Inspection, if the wrong input again, this can't achieve, why ah,,, new meng mengCodePudding user response:
Since you 18 wrote the scanf (" % d ", & amp; A); Why type characters "a"?CodePudding user response:
When entering a, the return value to a custom function (Inspectionint), but when the input 3, correctNumber value can not be returned to the main function of a. so the main function of a or a random value, the original poster can define a, given an initial value, and then run it,