Scale Ingredient Quantities
Problem: Scale Ingredient Quantities
Given a base ingredient list and the number of people p, scale every ingredient amount by p.
Each ingredient record contains an amount, a unit, and an ing...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
