Question: Using C++ please Write a prototype and a definition of the function total that takes one integer parmeter (number of items sold); two double parameters
Write a prototype and a definition of the function total that takes one integer parmeter (number of items sold); two double parameters (price of item and sales tax rate) d returns total price of the purchase with tax. (NOTE: it is your responsibility to choose the return data type Just to give you an idea: if I call the function total for 10 items sold, 12 dollar price of the item and 03 tax, I would write the following code float x-0.0 x total (10, 12, 0.03))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
