Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 577 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 577 Bytes

Test task

Write a console Java application that performs a set of specified arithmetic operations.

Operations:

  1. Addition of 2 or more numbers
  2. Multiplication of 2 or more numbers
  3. Multiplication of the first 2 numbers and addition with the 3rd number

An application can receive parameters either from a file or by input from the console. An application can output the result either to a file or to the console. The mode is determined by command line arguments. If the argument value is specified as "-", then this means working with the console, otherwise with a file.