Write your question here.
hello I am BEGINNER and need some help with my code, it's not giving the right out put. it should show a sub total and total after tax. Please help!!!
Category 1 - Clothing: 6%
Category 2 - Beauty products: 7%
Category 3 - Grocery: 3%
Category 4 - Gardening: 6%
Category 5 - School supplies: 3%
Category 6 - Tobacco products: 10%
Creates an array to store the numbers users input and uses the switch statement to calculate the sales tax and final cost based on the category of the purchased product
Prompts the user for category and price of the product
Calculates and displays the final cost