0_0_20720613_19225.cpp: In function 'int main()':
0_0_20720613_19225.cpp:12:3: error: expected ',' or ';' before 'for'
for(int i = 0; i < num && scanf("%lf", &a); i++)
^
0_0_20720613_19225.cpp:12:18: error: 'i' was not declared in this scope
for(int i = 0; i < num && scanf("%lf", &a); i++)
^
|