Problem cuberoot
User Um
Submission Time 2023-04-28 21:03:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuberoot.cpp: In function ‘int main()’:
cuberoot.cpp:5:7: error: expected initializer before ‘<<’ token
5 | int t<<cuberoot;
| ^~
cuberoot.cpp:6:7: error: ‘t’ was not declared in this scope; did you mean ‘tm’?
6 | cin>>t;
| ^
| tm
cuberoot.cpp:7:2: error: ‘cuberoot’ was not declared in this scope
7 | cuberoot = pow(t, 1.0/3.0);
| ^~~~~~~~
cuberoot.cpp:8:11: error: ‘cubeRoot’ was not declared in this scope
8 | cout << cubeRoot;
| ^~~~~~~~