0_0_27546240_13818.cpp:1:11: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_27546240_13818.cpp: In function 'int main()':
0_0_27546240_13818.cpp:6:14: error: 'scanf' was not declared in this scope
scanf("%d",&n);
^
0_0_27546240_13818.cpp:9:6: error: expected ';' before 'a'
a[i][0]=1;
^
0_0_27546240_13818.cpp:9:15: error: expected ')' before ';' token
a[i][0]=1;
^
0_0_27546240_13818.cpp:11:6: error: expected ';' before 'for'
for(j=1;j<=i;j++)
^
0_0_27546240_13818.cpp:11:6: error: expected primary-expression before 'for'
0_0_27546240_13818.cpp:11:6: error: expected ')' before 'for'
0_0_27546240_13818.cpp:14:4: error: expected ';' before '{' token
{ for(j=0;j<=i;j++)
^
0_0_27546240_13818.cpp:14:4: error: expected primary-expression before '{' token
0_0_27546240_13818.cpp:14:4: error: expected ')' before '{' token
0_0_27546240_13818.cpp:15:28: error: 'printf' was not declared in this scope
printf("%5d",a[i][j]);
^
0_0_27546240_13818.cpp:16:17: error: 'printf' was not declared in this scope
printf("\n");
^
|