0_0_30804857_31428.cpp: In function 'int main()': 0_0_30804857_31428.cpp:9:26: error: 'num' was not declared in this scope scanf("%lf",&num[i]); ^ 0_0_30804857_31428.cpp:10:13: error: 'num' was not declared in this scope max=num[1]; ^