Problem | prime |
---|---|
User | Bryan |
Submission Time | 2023-10-09 14:55:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp: In function ‘bool check_prime(int)’:
prime.cpp:13:16: error: lvalue required as left operand of assignment
13 | if (num % 2 = 0) and (num != 2){
| ^
prime.cpp:13:23: error: expected identifier before ‘(’ token
13 | if (num % 2 = 0) and (num != 2){
| ^