Class CurrencyAmountClient
java.lang.Object
it.unimi.di.prog2.h12.CurrencyAmountClient
Client class for testing the CurrencyAmount class.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CurrencyAmountClient
private CurrencyAmountClient().
-
-
Method Details
-
main
Main method for testing.Reads a sequence of amounts from the standard input, computes their sum, and emits it to the standard output.
- Parameters:
args- command line arguments (not used).
-