0_0_16734410_3743.cpp: In function 'int main()': 0_0_16734410_3743.cpp:29:25: error: invalid types 'double[int]' for array subscript printf("%.1lf%%\n",p[n]*100); ^