Write a command-line tool /app/fixed sum that reads a file of decimal values and computes their exact…
Write a command-line tool /app/fixed sum that reads a file of decimal values and computes their exact…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The tool accepts exactly one argument: a file path. - The file contains one decimal number per…
The task
**Input contract:** - The tool accepts exactly one argument: a file path. - The file contains one decimal number per line. Numbers may be positive, negative, or zero. - Numbers use '.' as decimal separator. No scientific notation. No thousands separators. - Lines can have leading/trailing whitespace (spaces, tabs)…
Part of ai-and/termgrade-environments.