At the local farmer's market, each vendor is required to pay the market 10% of their gross
Fantastic news! We've Found the answer you've been seeking!
Question:
At the local farmer's market, each vendor is required to pay the market 10% of their gross sales. You have been hired to create a report detailing each vendor and their sales.
Write a program to do the following:
ask the user how many vendors participated in the market.
dynamically create 2 parallel arrays based on that number. the first array (string) will hold the name of vendor. the second array (double) will hold the gross sales for that day. (Review chapter 7 on parallel arrays if you need help with that.)
have the user input the information for each vendor. No empty strings allowed for names and no negative sales amount.
create a professional-looking report that shows the vendor's name, gross amount, and the amount paid (the amount paid will be calculated): Adams Golden Apples $4,500.00 $450.00 Huckleberry Farms $ 350.00 $ 35.00
Related Book For
Intermediate Accounting
ISBN: 978-0324300987
10th Edition
Authors: Loren A Nikolai, D. Bazley and Jefferson P. Jones
Posted Date: