Added
A community garden needs a small utility that asks a volunteer for the number of seed packets, rejects negative values, and calculates the total cost using a fixed price. It will run locally on an existing laptop, has no network connection requirement, and must be easy for a beginner to modify and test during a one-week course. The team has no existing application framework and wants to avoid unnecessary setup. Which approach best fits the requirement?
A short procedural script directly supports input, a negative-value check, and a calculation without adding infrastructure. A web application introduces a server and database that the offline, local use case does not need. A polling service depends on a network endpoint and runs continuously for a task that is performed interactively. Manual spreadsheet calculation fails the requirement to have the utility calculate the total and validate input.