Review the four-unit carton
The station adds a carton with two layers of two units. Review the fixed template initializer and two orders before connecting its calculated unit count to ordinary dispatch.
What needs to change
Use the supplied candidate with separate inputs 0 and 3. Record whether the template declaration is permitted, predict both calculated unit counts and classify them against the dispatch limit of 0 through 6 units.
Reproduce
- Read the candidate in main.ts with separate inputs 0 and 3. Review const perBox and the calculated unit counts.
Acceptance criteria
- Declaration outcome
- Two orders
- Dispatch eligibility
Notes
The carton contains two layers of two units. The ordinary dispatch limit is 0 through 6 units; the calculator itself only computes units.
Use the supplied TypeScript source and Node command. Input parsing and the carton calculation are included.
These are source-based predictions for a supplied complete program. No native execution receipt is supplied for this new candidate.