0_0_20935887_30593.cpp: In function 'int main()': 0_0_20935887_30593.cpp:30:3: error: 'p' was not declared in this scope p=(a+b+c)/2; ^