0_0_38520822_22852.cpp: In function 'void pascalgo(int)':
0_0_38520822_22852.cpp:6:5: error: 'pascal' was not declared in this scope
pascal[j] = 1;
^
0_0_38520822_22852.cpp:8:5: error: 'pascal' was not declared in this scope
pascal[j] += pascal[j - 1];
^
0_0_38520822_22852.cpp:10:15: error: 'printf' was not declared in this scope
printf(" ");
^
0_0_38520822_22852.cpp:11:17: error: 'pascal' was not declared in this scope
printf("%d", pascal[j]);
^
0_0_38520822_22852.cpp:11:26: error: 'printf' was not declared in this scope
printf("%d", pascal[j]);
^
0_0_38520822_22852.cpp:13:14: error: 'printf' was not declared in this scope
printf("\n");
^
0_0_38520822_22852.cpp: In function 'int main()':
0_0_38520822_22852.cpp:19:23: error: 'scanf' was not declared in this scope
while (scanf("%d", &n) != EOF) {
^
0_0_38520822_22852.cpp:19:28: error: 'EOF' was not declared in this scope
while (scanf("%d", &n) != EOF) {
^
0_0_38520822_22852.cpp:21:14: error: 'printf' was not declared in this scope
printf("\n");
^
|