Problem | prime |
---|---|
User | skillissue123 |
Submission Time | 2023-05-12 15:28:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp: In function ‘int main()’:
prime.cpp:7:28: error: expected ‘;’ before ‘}’ token
7 | cout << "Not Prime"
| ^
| ;
8 | } else if (n%3 == 0) {
| ~
prime.cpp:9:28: error: expected ‘;’ before ‘}’ token
9 | cout << "Not Prime"
| ^
| ;
10 | } else if (n%5 == 0) {
| ~
prime.cpp:11:28: error: expected ‘;’ before ‘}’ token
11 | cout << "Not Prime"
| ^
| ;
12 | } else if (n%7 == 0) {
| ~
prime.cpp:13:28: error: expected ‘;’ before ‘}’ token
13 | cout << "Not Prime"
| ^
| ;