Link to home
Start Free TrialLog in
Avatar of ladiet
ladiet

asked on

sales tax

I am not a programmer. I am looking to find the source code to calculate the
sales tax of number of items enter. Any help would be wonderful. The source code should be in C in Windows.

Input: # of items, price of each item, sales tax% of your state(will us 5%), amount tendered

Output: total and change returned if any

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of adg080898
adg080898

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of adg080898
adg080898

If you have Excel or other spreadsheet software then I would recommend that you use it to calculate your totals. It would be a lot less work than making a program from srcatch to do it.

In Excel you could record a few macros and assign them to buttons to clear the page and a field to enter amounts. Simple formulas would calculate the total, tax, and change.
Nothing has happened on this question in more than 9 months. It's time for cleanup!

My recommendation, which I will post in the Cleanup topic area, is to
split points between adg and bvbb.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jmcg
EE Cleanup Volunteer