Problem rightangtri
User Zubair
Submission Time 2026-06-22 16:45:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rightangtri.cpp: In function β€˜int main()’:
rightangtri.cpp:6:30: error: a function-definition is not allowed here before β€˜{’ token
6 | void printTriangle(int rows) {
| ^