Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27508

Need help with a tax return code

$
0
0
I'm using VB 2010 and I'm about as inexperienced as they come. I've only created a handful of programs and they were all simpler than this.

I need to create a tax return program so:

When given gross income, 401K contribution, and city residency status, my program can calculate
- AGI (GrossInc - 401k)
- Tax rate based on AGI (10% if AGI is between 8501 and 29,000, 15% if AGI is between 29001 and 75000, 18% if AGI is between 75001 and 125000, 25% if AGI is more than or equal to 125,001)
- State Tax(3.07% of AGI)
- FICA (6.2% of first 75,000 or <)
- Local Tax (2% if city resident, 1% if not)
- Total Income

My main confusion is coming from trying to set up these tax brackets for the tax rate. I also am struggling to set up the local tax part. The rest of these calculations are mostly basic math functions.

If someone could lead me in the right way or help with those two pieces of the code I'd be infinitely grateful.

Thanks

Viewing all articles
Browse latest Browse all 27508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>