calculate the cost, sales tax and total cost ion the list box.
cost for each chair is 1200 and sofa 200 while sales tax is 16%

  1. You haven't asked a question
  2. You haven't told us anything about the data in the listbox

In general

cost = numchairs * 1200 + numsofa * 200
tax = cost * 0.16
total = cost + tax
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.