/*
|
|
* Laenge einer Strecke im Raum
|
|
*
|
|
* Rainer Hihn
|
|
*/
|
|
|
|
#include "strecke.h"
|
|
|
|
int main(void)
|
|
{
|
|
/**
|
|
* Variablendeklaration
|
|
*/
|
|
struct point firstPoint;
|
|
struct point secondPoint;
|
|
|
|
printf("Entfernung berechnen \n");
|
|
|
|
firstPoint = readPoint();
|
|
secondPoint = readPoint();
|
|
|
|
printf("Die Entfernung von Punkt 1 nach Punkt 2 ist: %f \n", distance(firstPoint, secondPoint));
|
|
|
|
return 0;
|
|
}
|
|
|