Problem 7up
User briyanii
Submission Time 2023-08-30 13:11:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

7up.cpp: In function ‘int main()’:
7up.cpp:13:33: error: expected ‘;’ before ‘for’
13 | awd = to_string(temp).size()
| ^
| ;
14 | for (int z=0; z < awd - 1; z++){
| ~~~
7up.cpp:14:19: error: ‘z’ was not declared in this scope
14 | for (int z=0; z < awd - 1; z++){
| ^
7up.cpp:20:16: error: expected ‘;’ before ‘}’ token
20 | yes = true
| ^
| ;
21 | }
| ~
7up.cpp:23:19: error: expected ‘;’ before ‘}’ token
23 | cout << "UP!"
| ^
| ;
24 | }
| ~