A Go function makes its inputs and result types visible in the signature. Start there. An int calculation keeps whole numbers, so dividing seven by three returns two; converting the result afterward cannot recover the discarded fraction. A declared variable also has a zero value before you assign anything: zero for numbers, false for booleans and an empty string for text. These defaults are useful, but a missing business value may need a separate flag. You will complete small functions for a fictional dispatch desk. The checks call each function directly, which lets you concentrate on the calculation without writing a command-line program. Keep the parameter names if they help you follow the request; the result is what matters.
Subtract delivered crates from the order.