You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
521 B

public class ExerciseRunner {
public static void main(String[] args) {
System.out.println(UnitConverter.convert(new String[]{"celsius", "fahrenheit", "100"}));
System.out.println(UnitConverter.convert(new String[]{"fahrenheit", "celsius", "212"}));
System.out.println(UnitConverter.convert(new String[]{"kilometers", "miles", "5"}));
System.out.println(UnitConverter.convert(new String[]{"pounds", "kilograms", "10"}));
System.out.println(UnitConverter.convert(args));
}
}