CodePudding user response:
His look at the error output under theLine 5 the scanf can't use, want to scanf_s parameter
His baidu, the difference between the scanf and scanf_s
For input character or string to have distinction, the input number is just change the function name, without having to change parameters,