printTotalCost 🌶️
Write a void method named printTotalCost that takes three parameters: a String named item, an int named quantity, and an int named unitPriceCents (the price of one item, in cents). It should compute the total cost (quantity times unitPriceCents) and print exactly one line, in this format: "<quantity> <item>: <total> cents". For example, printTotalCost("pencils", 3, 50) should print:
3 pencils: 150 cents