Create a command-line tool fpcalc that reads a CSV file of decimal arithmetic operations and outputs results…
Create a command-line tool fpcalc that reads a CSV file of decimal arithmetic operations and outputs results…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input : A CSV file path passed as the only argument. The CSV has no header row. Each row contains exactly…
The task
**Input**: A CSV file path passed as the only argument. The CSV has no header row. Each row contains exactly 3 columns: `operand1,operator,operand2`. Operands are strings representing decimal numbers (may include sign, integer part, and fractional part). Operator is one of: `+`, `-`, `*`, `/`.
Part of ai-and/termgrade-environments.