Problem add1_easy
User oiu890
Submission Time 2024-04-03 11:00:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

add1_easy.cpp: In function ‘int main()’:
add1_easy.cpp:8:8: error: expected ‘(’ before ‘{’ token
8 | }while{cin>>n}
| ^
| (
add1_easy.cpp:8:8: error: expected primary-expression before ‘{’ token
add1_easy.cpp:8:8: error: expected ‘)’ before ‘{’ token
8 | }while{cin>>n}
| ^
| )
add1_easy.cpp:8:8: error: expected ‘;’ before ‘{’ token
8 | }while{cin>>n}
| ^
| ;
add1_easy.cpp:8:14: error: ‘n’ was not declared in this scope
8 | }while{cin>>n}
| ^