0_0_31524960_25550.cpp:4:11: error: '::main' must return 'int'
void main()
^
0_0_31524960_25550.cpp: In function 'int main()':
0_0_31524960_25550.cpp:9:7: error: invalid operands of types 'float' and 'int' to binary 'operator^'
d^2=(x1-x2)^2+(y1-y2)^2;
^
0_0_31524960_25550.cpp:9:25: error: invalid operands of types 'float' and 'float' to binary 'operator^'
d^2=(x1-x2)^2+(y1-y2)^2;
^
|