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 Answers
+ 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