Class MathFunctionsClient
java.lang.Object
it.unimi.di.prog2.s05.MathFunctionsClient
Client for the
MathFunctions class.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MathFunctionsClient
private MathFunctionsClient().
-
-
Method Details
-
main
Reads a sequence of floating-point numbers from standard input, computes their square root (when possible), and printstrueorfalsedepending on whether the result is correct within10^-3or not.- Parameters:
args- command line arguments (ignored).
-