Write a command-line tool fpcalc that performs arithmetic on fixed-point decimal numbers with configurable…
Write a command-line tool fpcalc that performs arithmetic on fixed-point decimal numbers with configurable…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format : A string containing exactly one of these operations: - a + b - a - b - a b - a / b
The task
**Input format**: A string containing exactly one of these operations: - `a + b` - `a - b` - `a * b` - `a / b`
Part of ai-and/termgrade-environments.