0_0_38550718_25106.cpp:4:3: error: expected constructor, destructor, or type conversion before 'double'
double x1,x2,y1,y2,d,e;
^
0_0_38550718_25106.cpp:5:6: error: expected constructor, destructor, or type conversion before '(' token
scanf("%lf",x1);
^
0_0_38550718_25106.cpp:6:6: error: expected constructor, destructor, or type conversion before '(' token
scanf("%lf",y1);
^
0_0_38550718_25106.cpp:7:6: error: expected constructor, destructor, or type conversion before '(' token
scanf("%lf",x2);
^
0_0_38550718_25106.cpp:8:6: error: expected constructor, destructor, or type conversion before '(' token
scanf("%lf",y2);
^
0_0_38550718_25106.cpp:9:1: error: 'd' does not name a type
d=pow(x1-x2,2)+pow(y1-y2,2);
^
0_0_38550718_25106.cpp:10:1: error: 'e' does not name a type
e=sqrt(d);
^
0_0_38550718_25106.cpp:11:7: error: expected constructor, destructor, or type conversion before '(' token
printf("%lf",&e);
^
|