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

Compile Error

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