CodePudding user response:
Input 1 2 3 it is good to use Spaces, you enter 1, 2, 3 and the scanf () format is not corresponding to the inside, so wrong,CodePudding user response:
The default interval operator is commonly Spaces, TAB, etc., to use commas in the scanf need to write,CodePudding user response:
The scanf (" % d, % d, % d ",...