Problem factorial
User burningout
Submission Time 2025-03-10 01:41:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

factorial.cpp: In function ‘int main()’:
factorial.cpp:8:10: error: ‘a’ was not declared in this scope
8 | cin >> a;
| ^
factorial.cpp:12:24: error: ‘a’ was not declared in this scope
12 | for (int j = 1; j <= a; i++){
| ^