0

a question about c

int max,min,i; int max =a[0];min=a[0]; I don’t know where the mistake is.

21st Nov 2020, 9:14 AM
王福康
王福康 - avatar
2 Antworten
+ 4
Redeclaration is the error. Try it int max,min,i; max =a[0]. [❎ don't declare data type again ❎]
21st Nov 2020, 9:27 AM
[bool left=True;]
[bool left=True;] - avatar
+ 2
a is not defined. You don't need int before max at the second line since you already declare it.
21st Nov 2020, 11:03 AM
你知道規則,我也是
你知道規則,我也是 - avatar