Problem cuberoot
User justin271828
Submission Time 2023-06-10 12:32:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:24:21: error: expected ‘;’ before ‘if’
24 | a = (min+max) / 2
| ^
| ;
25 | if (a*a*a < x) {
| ~~
cuberoot.cpp:28:4: error: ‘else’ without a previous ‘if’
28 | else if (a*a*a > x) {
| ^~~~