import java.util.Scanner;
public class Problem3
{
public static void main(String[]args)
{
Scanner in = new Scanner(System.in);
String DMS1, DMS2;
int degrees1, degrees2, minutes1, minutes2, seconds1, seconds2;
System.out.print("Angle 1 (degrees minutes seconds) ? ");
degrees1 = in.nextInt();
minutes1 = in.nextInt();
seconds1 = in.nextInt();
System.out.print("Angle 2 (degrees minutes seconds) ? ");
degrees2 = in.nextInt();
minutes2 = in.nextInt();
seconds2 = in.nextInt();
}
}
This is what I have so far