JavaScriptRestored your last edit ·
Result
Running…
Expected output
sugar: 14 bags Check complete Error: No record for salt Check complete
Try it Yourself
sugar: 14 bags Check complete Error: No record for salt Check complete