//       CS210 - Algorithms and Data Structures I
//            Department of Computer Science
//       National University of Ireland, Maynooth
//
//           Solutions to Self-help Exercises
//                     Tom Naughton
//                    November 2000
//
//-------------------------------------------------------
//http://www.cs.may.ie/tnaughton/cs210/cs210selfhelp.html
//=======================================================
class ExerciseI3 {
  /* Prints the sum of two doubles
  */
  public static double add(double a, double b) {
    /* Returns the sum of two arguments of type double
    */
    return (a+b);
  }

  public static void main(String args[]) {
    double a, b;
    a = 5.3;
    b = 6.4;
    System.out.println(add(a, b));
  }
}

