Create a c program that contains a function that computes


Create a C program that contains a function that computes the final price for a sales transaction and return that value to a calling method.

The function requires three arguments: product price, salesperson commission rate and customer discount rate. A product final price is the original price plus the commission amount minus the discount amount; the customer discount is taken as a percentage of the total price after the salesperson commission has been added to the original price.

Write a main( ) method that prompts the user for the price of an item, the salesperson commission expressed as a percentage, and the customer discount expressed as a percentage and that then passes the values to the function.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Create a c program that contains a function that computes
Reference No:- TGS0661489

Expected delivery within 24 Hours