Check the first fee row
The pricing support note includes a worksheet for an order with base 1200 and one fee of 75 minor units. Its final quote is plausible, but the helper row needs review.
What needs to change
Correct the first add invocation at P. Record its subtotal and the next operation before approving the worksheet.
Reproduce
- In main.ts, use input 1200 75. Locate P in the first add invocation.
Acceptance criteria
- Helper local
- Next operation
Notes
Node stdin supplies base 1200 followed by one fee 75. Input parsing and group construction are supplied.
P is immediately before console.log in add. Record the local and the next source operation.
TypeScript number arithmetic is exact for these supplied small integer inputs.