0_0_30110218_32648.cpp: In function 'int main()': 0_0_30110218_32648.cpp:12:19: error: 'n1' was not declared in this scope scanf("%d",&n); n1=2*n; ^