announcePurchase 🌶️
Write a void method named announcePurchase that takes two parameters: a String named item (already plural, like "pencils") and an int named quantity. It should print exactly two lines: first "You bought " followed by the quantity, a space, the item, and a period, then, on its own line, "Thanks for shopping with us!" For example, announcePurchase("pencils", 3) should print:
You bought 3 pencils.
Thanks for shopping with us!