Problem prime
User Slayer555
Submission Time 2024-08-25 12:04:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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 {
| ^~~~