0_0_30716476_22654.cpp:5:2: error: stray '#' in program
int b;
^
0_0_30716476_22654.cpp:6:2: error: stray '#' in program
int n;
^
0_0_30716476_22654.cpp:7:2: error: stray '#' in program
scanf("%d",&n);
^
0_0_30716476_22654.cpp:8:2: error: stray '#' in program
while(n>0)
^
0_0_30716476_22654.cpp:10:2: error: stray '#' in program
n--;
^
0_0_30716476_22654.cpp:11:2: error: stray '#' in program
scanf("%d%d",&a,&b);
^
0_0_30716476_22654.cpp:12:2: error: stray '#' in program
printf("%d\n",a+b);
^
0_0_30716476_22654.cpp:14:2: error: stray '#' in program
return 0;
^
0_0_30716476_22654.cpp:14:8: error: stray '#' in program
return 0;
^
0_0_30716476_22654.cpp:14:14: error: stray '#' in program
return 0;
^
0_0_30716476_22654.cpp: In function 'int main()':
0_0_30716476_22654.cpp:5:3: error: lvalue required as unary '&' operand
int b;
^
0_0_30716476_22654.cpp:6:3: error: lvalue required as unary '&' operand
int n;
^
0_0_30716476_22654.cpp:7:3: error: lvalue required as unary '&' operand
scanf("%d",&n);
^
0_0_30716476_22654.cpp:8:3: error: lvalue required as unary '&' operand
while(n>0)
^
0_0_30716476_22654.cpp:10:3: error: lvalue required as unary '&' operand
n--;
^
0_0_30716476_22654.cpp:11:3: error: lvalue required as unary '&' operand
scanf("%d%d",&a,&b);
^
0_0_30716476_22654.cpp:12:3: error: lvalue required as unary '&' operand
printf("%d\n",a+b);
^
0_0_30716476_22654.cpp:14:3: error: lvalue required as unary '&' operand
return 0;
^
0_0_30716476_22654.cpp:14:9: error: lvalue required as unary '&' operand
return 0;
^
0_0_30716476_22654.cpp:14:15: error: lvalue required as unary '&' operand
return 0;
^
|