Home > Back-end >  For help beginners C three inputs have no reaction, input the number ten, directly to the end
For help beginners C three inputs have no reaction, input the number ten, directly to the end

Time:01-19

# include & lt; Stdio. H>
The main ()
{
Int a, b, n.
Printf (" input number three \ n ");
The scanf (" % d % d % d \ n ", & amp; A, & amp; B, & amp; n);
If (n>=0)
{
If (a> B)
Printf (" % d ", a);
}
The else
Printf (" % d ", b);


}

CodePudding user response:

Very good very good

CodePudding user response:

 # include & lt; Stdio. H> 
Int main ()
{
Int a, b, n.
Printf (" input number three \ n ");
//the scanf (" % d % d % d \ n ", & amp; A, & amp; B, & amp; n);
The scanf (" % d % d % d ", & amp; A, & amp; B, & amp; n);
If (n>=0)
{
If (a> B)
Printf (" % d ", a);
The else
Printf (" % d ", b);
}

return 0;
}


For your reference ~
  • Related