0_0_32019084_26935.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32019084_26935.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_32019084_26935.cpp: In function 'int main()':
0_0_32019084_26935.cpp:6:24: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)&&n!=0)
^
0_0_32019084_26935.cpp:9:13: error: expected ';' before 'scanf'
scanf("%d",&a[i]);
^
0_0_32019084_26935.cpp:9:30: error: expected ')' before ';' token
scanf("%d",&a[i]);
^
0_0_32019084_26935.cpp:11:13: error: expected ';' before 'for'
for(j=0; j
^
0_0_32019084_26935.cpp:11:13: error: expected primary-expression before 'for'
0_0_32019084_26935.cpp:11:13: error: expected ')' before 'for'
0_0_32019084_26935.cpp:12:17: error: expected ';' before 'if'
if(abs(a[j])
^
0_0_32019084_26935.cpp:12:17: error: expected primary-expression before 'if'
0_0_32019084_26935.cpp:12:17: error: expected ')' before 'if'
0_0_32019084_26935.cpp:12:28: error: 'abs' was not declared in this scope
if(abs(a[j])
^
0_0_32019084_26935.cpp:13:17: error: expected ')' before '{' token
{
^
0_0_32019084_26935.cpp:19:17: error: expected ';' before 'printf'
printf("%d ",a[i]);
^
0_0_32019084_26935.cpp:20:31: error: 'printf' was not declared in this scope
printf("%d\n",a[i]);
^
|