Problem prime
User 2Princes1Lance
Submission Time 2023-11-24 16:13:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:18:9: error: ‘else’ without a previous ‘if’
18 | else if (i%2 == 0 && i > 2){
| ^~~~