Such as the scanf (" % d % d ", & amp; A, & amp; b); Enter 1 immediately after the confirmation,
CodePudding user response:
If (the scanf (" % d % d ", & amp; A, & amp; B)==2) {Printf (" input correct \ n ");
} else {
Printf (" the right input \ n ");
}