0_0_33578479_25038.cpp: In function 'int main()':
0_0_33578479_25038.cpp:11:17: error: 'a' was not declared in this scope
scanf("%d%d",&a,&b);
^
0_0_33578479_25038.cpp:11:20: error: 'b' was not declared in this scope
scanf("%d%d",&a,&b);
^
0_0_33578479_25038.cpp:15:4: error: 'x' was not declared in this scope
x=(a+b)/2;
^
0_0_33578479_25038.cpp:16:4: error: 'y' was not declared in this scope
y=(a-b)/2;
^
|