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-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Input : A CSV file path passed as the only argument. The…
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: `+`, `-`, `*`, `/`.