0_0_29835862_22371.cpp: In function 'int main()': 0_0_29835862_22371.cpp:46:30: error: 'i' was not declared in this scope cout<<beishu*arr[i]<<endl; ^