0_0_23907824_5988.cpp: In function 'int main()': 0_0_23907824_5988.cpp:40:22: error: invalid types 'double[int]' for array subscript a[k++] = (int)((a+b+c) * 100); ^