Problem | prime |
---|---|
User | Slayer555 |
Submission Time | 2024-08-25 12:04:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp: In function ‘int main()’:
prime.cpp:7:13: error: expected primary-expression before ‘==’ token
7 | if (n % 2) == 0;{
| ^~
prime.cpp:10:2: error: ‘else’ without a previous ‘if’
10 | else {
| ^~~~