0_0_26347636_516.cpp:2:13: error: '::main' must return 'int'
void main ( )
^
0_0_26347636_516.cpp: In function 'int main()':
0_0_26347636_516.cpp:6:13: error: 'x' was not declared in this scope
scanf("%d",&x);
^
0_0_26347636_516.cpp:8:13: error: 'y' was not declared in this scope
scanf("%d",&y);
^
0_0_26347636_516.cpp:11:1: error: return-statement with no value, in function returning 'int' [-fpermissive]
return;
^
|