0_0_36646660_8217.cpp: In function 'int main()': 0_0_36646660_8217.cpp:43:28: error: 'mid' was not declared in this scope int mid2 = mid*2; ^