Create a command-line tool fixcalc that performs fixed-point arithmetic operations on decimal numbers.
Create a command-line tool fixcalc that performs fixed-point arithmetic operations on decimal numbers.: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Goal: Read a single arithmetic expression from stdin, compute the result using fixed-point decimal arithmetic…
The task
**Goal:** Read a single arithmetic expression from stdin, compute the result using fixed-point decimal arithmetic, and print the result to stdout.
Part of ai-and/termgrade-environments.