Problem | pascal |
---|---|
User | DoubleShaurya |
Submission Time | 2024-01-25 07:43:01 |
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:8:5: error: ‘else’ without a previous ‘if’
8 | else {
| ^~~~