- Added BitcoinExchange class to manage Bitcoin data. - Implemented methods for loading data from files and processing input. - Introduced exception handling for various error scenarios (file not found, line format issues, negative values, etc.). - Created a main function to demonstrate usage and handle command-line arguments. - Added input data file with various test cases for validation.
17 lines
224 B
Plaintext
17 lines
224 B
Plaintext
date | value
|
|
2011-01-03 | 3
|
|
2011-01-03 | 2
|
|
2011-01-03 | 1
|
|
2011-01-03 | 1.2
|
|
2011-01-09 | 1
|
|
2016-04-12 | 3
|
|
|
|
2025-12-12 |2
|
|
2012-01-11 | -1
|
|
2001-42-42 | 2
|
|
2000-01-11 | 1
|
|
2012-01-11 | 2147483648
|
|
2012-01-11 | 1
|
|
2001-123-1 | 3
|
|
|