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

Compile Error

prime.cpp:6:18: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
6 | bool check_prime(num){
| ^~~
| enum
prime.cpp: In function ‘int main()’:
prime.cpp:28:20: error: ‘check_prime’ cannot be used as a function
28 | check_prime(num);
| ^