0_0_15153011_30000.cpp:6:3: error: stray '\' in program
printf(%d\n,sum);
^
0_0_15153011_30000.cpp: In function 'int main()':
0_0_15153011_30000.cpp:3:9: error: expected initializer before 'B'
{ int A B sum;
^
0_0_15153011_30000.cpp:4:17: error: 'A' was not declared in this scope
scanf("%d%d",&A,&B);
^
0_0_15153011_30000.cpp:4:20: error: 'B' was not declared in this scope
scanf("%d%d",&A,&B);
^
0_0_15153011_30000.cpp:5:3: error: 'sum' was not declared in this scope
sum=A+B;
^
0_0_15153011_30000.cpp:6:10: error: expected primary-expression before '%' token
printf(%d\n,sum);
^
0_0_15153011_30000.cpp:6:11: error: 'd' was not declared in this scope
printf(%d\n,sum);
^
|