Problem 3nplus1
User whaleshark
Submission Time 2024-01-29 16:17:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function β€˜int main()’:
3nplus1.cpp:4:15: error: expected initializer before β€˜>>’ token
4 | int n, cin>>n;
| ^~
3nplus1.cpp:6:12: error: lvalue required as left operand of assignment
6 | if(n%2=0) {
| ^