A Console application that outputs the result of inputted mathematical operations.
- .Net Core 3.1
This project contains the code for the application.
This project contains the unit tests.
Run the console application with a list of string arguments. This list should only contain valid file paths.
Example:
dotnet Calculator.dll C:\file1.txt C:\file2.txt
-
Operations are limited to 32 bit integers, there is no floating point number support.
-
Operations must not exceed int.MaxValue at any point during the calculation
-
Invalid input in any file will cause the program to raise an exception
-
Add StyleCop or some other static code analysis tool.
-
Support other types of numeric data rather than just ints.
-
Create a UI to select the input file(s)