0_0_23186704_10727.cpp: In function 'int main()': 0_0_23186704_10727.cpp:10:20: error: 'n' was not declared in this scope scanf("%lf",&n); ^