Problem diamond
User Wheezycantcode
Submission Time 2024-01-31 16:19:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

diamond.cpp: In function ‘int main()’:
diamond.cpp:6:19: error: ‘n’ was not declared in this scope
6 | for(int l=0;l<n-i-1;l++){
| ^
diamond.cpp:10:15: error: expected ‘;’ before ‘}’ token
10 | cout<<"*"
| ^
| ;
11 | }
| ~