// Aaron Tan
// Program to test out issues on overloading methods 
// in Quick Quiz Question 4 given out in week 6.

public class OverloadingTest {

  public static void main(String[] args) {

    System.out.println(aMethod(3,5));

    System.out.println(bMethod(3,5));
  }

  public static double aMethod(int a, int b) {
    return 2.0 * (a + b);
  }

  public static int aMethod(double a, double b) {
    return (int) (a * b);
  }

  public static double bMethod(int a, double b) {
    return a * b * 100;
  }

  public static double bMethod(double a, int b) {
    return a * b * -100;
  }

}


