#include #define TAX_RATE .05 double get_cost(); double get_taxed_amt(double cost); void print_total_cost(double total_amt); int main (void) { double cost; double total; cost = get_cost(); total = get_taxed_amt(cost); print_total_cost(total); return(0); } double get_cost() { double itemcost; printf("Enter cost of item: "); scanf("%lf", &itemcost); return itemcost; } double get_taxed_amt(double cost) { double tax; double total; tax = cost * TAX_RATE; total = cost + tax; return total; } void print_total_cost(double total_amt) { printf("The total for your purchase is %5.2lf\n", total_amt); }