Class MathFunctionsClient

java.lang.Object
it.unimi.di.prog2.s05.MathFunctionsClient

public class MathFunctionsClient extends Object
Client for the MathFunctions class.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    .
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Reads a sequence of floating-point numbers from standard input, computes their square root (when possible), and prints true or false depending on whether the result is correct within 10^-3 or not.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MathFunctionsClient

      private MathFunctionsClient()
      .
  • Method Details

    • main

      public static void main(String[] args)
      Reads a sequence of floating-point numbers from standard input, computes their square root (when possible), and prints true or false depending on whether the result is correct within 10^-3 or not.
      Parameters:
      args - command line arguments (ignored).