JAVA these are the gps coordinates for 3 cities: paris 48.86N 2.35E venice 43.30N 5.37E miami 45.78N 3.09E you dont hav
Posted: Sun May 15, 2022 8:23 am
JAVA
these are the gps coordinates for 3 cities:
paris 48.86N 2.35E venice 43.30N 5.37E miami 45.78N 3.09E
you dont have to stock N and E( all coordinates are in the
north/east hemisphere)
a- give a main that declares and intiates a tab tabCoord of
two dimension double that can stock the coordinates of these 3 and
only 3 cities, print paris' coordinates
b- given the following class;
public class CoordGPS{
private double lat, long;
public CoordGPS(double lat, double long){ this.lat=lat;
this.long=long;}
give a main that declares and intialises a tab tabObj of
CoordGPS that can stock the coordinates lat and long of those 3
cities, print paris's coordinates and lyon's coordinates.
these are the gps coordinates for 3 cities:
paris 48.86N 2.35E venice 43.30N 5.37E miami 45.78N 3.09E
you dont have to stock N and E( all coordinates are in the
north/east hemisphere)
a- give a main that declares and intiates a tab tabCoord of
two dimension double that can stock the coordinates of these 3 and
only 3 cities, print paris' coordinates
b- given the following class;
public class CoordGPS{
private double lat, long;
public CoordGPS(double lat, double long){ this.lat=lat;
this.long=long;}
give a main that declares and intialises a tab tabObj of
CoordGPS that can stock the coordinates lat and long of those 3
cities, print paris's coordinates and lyon's coordinates.