Problem | pascal |
---|---|
User | DoubleShaurya |
Submission Time | 2024-01-25 07:43:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pascal.cpp: In function ‘int factorial(int)’:
pascal.cpp:6:5: error: expected ‘,’ or ‘;’ before ‘if’
6 | if (n < 0) {
| ^~
pascal.cpp:9:5: error: ‘else’ without a previous ‘if’
9 | else {
| ^~~~