0_0_20535945_22366.cpp: In function 'int main()':
0_0_20535945_22366.cpp:17:40: error: 't' was not declared in this scope
db ans = v * v / g - 0.5 * g * t;
^
0_0_20535945_22366.cpp: At global scope:
0_0_20535945_22366.cpp:22:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_20535945_22366.cpp:23:1: error: expected declaration before '}' token
}
^
|