0_0_15152962_14341.cpp: In function 'int main()':
0_0_15152962_14341.cpp:3:8: error: expected initializer before 'B'
{int A B;
^
0_0_15152962_14341.cpp:4:15: error: 'A' was not declared in this scope
scanf("%d%d",&A,&B);
^
0_0_15152962_14341.cpp:4:18: error: 'B' was not declared in this scope
scanf("%d%d",&A,&B);
^
0_0_15152962_14341.cpp:5:1: error: 'sum' was not declared in this scope
sum=A+B;
^
0_0_15152962_14341.cpp:6:8: error: expected primary-expression before '%' token
printf(%d,sum);
^
0_0_15152962_14341.cpp:6:9: error: 'd' was not declared in this scope
printf(%d,sum);
^
|