0_0_28588249_22861.cpp: In function 'int main()': 0_0_28588249_22861.cpp:9:5: error: expected initializer before 'cin' cin >> c; ^ 0_0_28588249_22861.cpp:18:9: error: 'p' was not declared in this scope p=1; ^