Problem cuberoot
User Maggie
Submission Time 2023-11-09 11:54:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:8:18: error: ‘x’ was not declared in this scope
8 | if (testCbrt <=x){
| ^
cuberoot.cpp: At global scope:
cuberoot.cpp:16:2: error: expected unqualified-id before ‘return’
16 | return 0
| ^~~~~~
cuberoot.cpp:17:2: error: expected declaration before ‘}’ token
17 | }
| ^