0_0_35331804_4799.cpp: In function 'int main()': 0_0_35331804_4799.cpp:44:14: error: conflicting declaration 'bool p' bool p=0; ^ 0_0_35331804_4799.cpp:41:15: note: previous declaration as 'float p' float p; ^