package edu.vtc.cis3720;

import java.io.IOException;

public class InputGPS {

    public static void main(String[] args)
            throws IOException, GPS.InvalidGPSValueException
    {
        GPS someGPS;

        for (int i = 0; i < 10; ++i) {
            someGPS = GPS.inputGPS(
                    "Enter GPS Coordinates (" + i + "): ", System.in, System.out, System.err);
            System.out.println("Success! I received: " + someGPS);
        }
    }

}
