Problem | primefactorization |
---|---|
User | vince |
Submission Time | 2023-11-20 15:28:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
primefactorization.cpp: In function ‘int32_t main()’:
primefactorization.cpp:11:12: error: expected ‘(’ before ‘if’
11 | while if (n%i == 0){
| ^~
| (
primefactorization.cpp:11:12: error: expected primary-expression before ‘if’
11 | while if (n%i == 0){
| ^~
primefactorization.cpp:11:11: error: expected ‘)’ before ‘if’
11 | while if (n%i == 0){
| ^~~
| )