0_0_16590299_9163.cpp: In function 'int main()': 0_0_16590299_9163.cpp:33:20: error: 'mid' was not declared in this scope printf("%.2lf\n", mid); ^