Home > Back-end > C language foundation QWQ for help
C language foundation QWQ for help
Time:06-11
#include Int maximum (int a, int b) { Int Max; If (a> B) Max=a; The else Max=b; The return of Max; } Void main () { Int a, b, Max; The scanf (" & amp; D % d ", & amp; A, & amp; b); Maximum (a, b); Printf (" % d \ n ", the maximum (a, b)); Please inform where is wrong, thank you QWQ
CodePudding user response:
The scanf (" & amp; d % d ", & amp; A, & amp; b); Instead of The scanf (" % d % d ", & amp; A, & amp; b);