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.
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
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 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 hav
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!