Problem pascal
User Joashhh
Submission Time 2024-04-17 17:08:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pascal.cpp: In function ‘int main()’:
pascal.cpp:10:7: error: expected initializer before ‘.’ token
10 | int r. c;
| ^
pascal.cpp:11:15: error: ‘r’ was not declared in this scope
11 | cout << (fac(r)/(fac(c)*fac(r-c));
| ^
pascal.cpp:11:23: error: ‘c’ was not declared in this scope
11 | cout << (fac(r)/(fac(c)*fac(r-c));
| ^
pascal.cpp:11:35: error: expected ‘)’ before ‘;’ token
11 | cout << (fac(r)/(fac(c)*fac(r-c));
| ~ ^
| )