Mini-Project: The Vendor's Ledger

A market vendor sells shea butter at $8.50/jar and black soap at $6.25/bar. Saturday: 23 jars, 31 bars. Compute: subtotal per product, combined subtotal, 7% tax, grand total (rounded to 2 places), and, using modulo, how many complete gift boxes of 4 jars she can build from remaining stock of 38 jars, plus how many jars remain. Print a clean multi-line receipt with template strings. Both languages.

SANKOFA SANDBOX
loading editor…
Your turn → Work through it step by step. This is a piece of the course project, not a throwaway exercise.

Built it in both languages?

Mark it done once your Python and JavaScript versions both run correctly. Honesty here is what makes the dashboard useful to you.

← BackNext: Module 6: Boolean Values and Comparisons →