0_0_19754386_14472.cpp:2:11: error: '::main' must return 'int'
void main(){
^
0_0_19754386_14472.cpp: In function 'int main()':
0_0_19754386_14472.cpp:14:5: error: expected ';' before 'double'
double t = p+q;
^
0_0_19754386_14472.cpp:14:5: error: expected primary-expression before 'double'
0_0_19754386_14472.cpp:14:5: error: expected ')' before 'double'
0_0_19754386_14472.cpp:16:7: error: 't' was not declared in this scope
q=t;
^
0_0_19754386_14472.cpp:16:8: error: expected '}' at end of input
q=t;
^
0_0_19754386_14472.cpp:16:8: error: expected '}' at end of input
0_0_19754386_14472.cpp:16:8: error: expected '}' at end of input
|