Why do I try to input some non-numeric values, such as A, it will be before I enter the second value directly is output 1
CodePudding user response:
Don't input integer value, the input character, although they can read input system of characters, but is not stored in the previously defined variable, the program output 1, should is because the system to the two variables are initialized values are the same, "Program ranging from input as to what you say the second value is directly output 1", I didn't meet this situation, I input the two characters then press the enter key after the program to output 1,