0_0_36469334_29352.cpp: In function 'int main()':
0_0_36469334_29352.cpp:27:4: error: expected '}' before 'else'
else
^
0_0_36469334_29352.cpp:30:3: error: 'else' without a previous 'if'
else if (ans != 0)
^
0_0_36469334_29352.cpp:30:12: error: 'ans' was not declared in this scope
else if (ans != 0)
^
0_0_36469334_29352.cpp: At global scope:
0_0_36469334_29352.cpp:38:8: error: expected constructor, destructor, or type conversion before '(' token
system("pause");
^
0_0_36469334_29352.cpp:39:2: error: expected unqualified-id before 'return'
return 0;
^
0_0_36469334_29352.cpp:40:1: error: expected declaration before '}' token
}
^
|