destination_details method implemented

distance_related_methods
Selim Eser 2024-06-09 18:45:42 +02:00
parent 9deda6bf76
commit e3ae9c6599
1 changed files with 9 additions and 1 deletions

View File

@ -113,7 +113,15 @@ public class System {
}
public String[] destination_details(String destination_zip){
return new String[1];
String[] result = new String[5];
result[0] = distance(destination_zip); // Entfernung
result[1] = travel_time(destination_zip)[0]; // Reisedauer Auto
result[2] = travel_time(destination_zip)[1]; // Reisedauer Fahrrad
result[3] = calc_l_consumption(destination_zip); // Kraftstoffverbrauch Auto
result[4] = weather_forecast(destination_zip); // Wettervorhersage für die nächsten 3 Tage
return result;
}
public String current_weather(){