Home > Back-end >  For help
For help

Time:04-09

Is there bosses can help have a look, please enter the code no problem also run but not show a and b,

CodePudding user response:

Before the scanf add
The fflush (stdout);

CodePudding user response:

reference 1/f, zhao teacher reply:
before the scanf add
The fflush (stdout);
this displayed in the output there please input a and b, but I can't input data

CodePudding user response:

Problem is the environment of the building Lord use problem, or the results did not achieve the desired problem?
If the former, it is recommended that check the compiler (or tools) using the tutorial ~

CodePudding user response:

Line between 8 and 9, insert fflush (stdout); The rewind (stdin);

CodePudding user response:

reference 3 building self-confidence boy reply:
problem is the environment of the building Lord use problem, or the results did not achieve the desired problem?
If the former, it is recommended that check the compiler (or tools) using the tutorial ~
environment should be no problem, I are according to online

CodePudding user response:

QZJHJXJ
reference 4 floor response:
8, line 9, insert the fflush (stdout); The rewind (stdin);
, but I still can't enter two Numbers to compare size
  • Related