Problem prime
User Bryan
Submission Time 2023-10-09 14:54:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘bool check_prime(int)’:
prime.cpp:13:29: error: lvalue required as left operand of assignment
13 | if (num % 2 = 0 and num != 2){
| ^