0_0_16401195_31331.cpp: In function 'int main()': 0_0_16401195_31331.cpp:42:13: error: expected ',' or ';' before 'double' double y = (p[i].b*(1.0*300/max2))*0.7 ^