Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
Instructions Create pseudocode and a flowchart for a program that uses functions to calculate sales tax and total after tax.
Instructions
Create pseudocode and a flowchart for a program that uses functions to calculate sales tax and total after tax.
Console OutputSales Tax Calculator
Enter the cost of each item (ENTER 0 TO END)
Cost of item: 35.99
Cost of item: 27.50
Cost of item: 19.59
Cost of item: 0
Total: 83.08
Sales tax: 4.98
Total after tax: 88.06
Again? (y/n): y
Enter the cost of each item (ENTER 0 TO END)
Cost of item: 152.50
Cost of item: 59.80
Cost of item: 0
Total: 212.3
Sales tax: 12.74
Total after tax: 225.04
Again? (y/n): n
Thanks, bye!
Specifications- The sales tax rate should be 6% of the total.
- Your program should also contain functions that:
- calculate the sales tax
- calculate the total after tax
- asks the user to enter a number repeatedly until they are done, adds each number to a total variable and uses a counter to determine how many numbers were entered.
- outputs the total before tax, the tax and the total including tax.
- These functions should round the results to a maximum of two decimal places.
- Assume the user will enter valid data.
Please help me solve this!