I don't really have a code. Functions confuse me and I need help figuring out how to write the function for the following program: Write three independent functions to handle the problem of calculating the bill at a coffee shop.
The first prompts for input values and gives them back to the caller; the second calculates the extended line amounts, subtotal, tax, and grand total of the bill; and the third prints the bill itself. the shop sells three items: coffee, bagel, and eggs.
Also if there are three items that I need to ask the user for quantities of, how can I return all the quantities for each of the three items?
I don't really want anyone to write the code, i just need help understanding how to write it...