Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
federal
- Page 1
Federal Cookie Policy
Digital Media
Digital Marketing
14 Years Ago
by InsightsDigital
… today, it welcomed the public's comments about the "
Federal
Cookie Policy". [URL="http://www.whitehouse.gov/omb… necessary. It makes you wonder if there will be a
federal
rule on using cookies for private sites and businesses.
iPod's copy-protection system brings in federal lawsuits
Hardware and Software
Hardware
17 Years Ago
by John A
… 400% this holiday season, Apple is getting faced with several
federal
lawsuits, according to Associated Press. Among those is one targetting… open to the public. At least there wasn't a
federal
lawsuit. The way I see it is like this: if…
Calculate Federal Tax
Programming
Software Development
16 Years Ago
by abarnett
… write a program that can be used to calculate the
federal
tax. The tax is calculated as follows: For single people…
Wkipedia violates federal law
Community Center
15 Years Ago
by jwise08
Wikipedia are violating
federal
laws 1. freedom of speech 2. blocking users from the uk over us citizens wikipedia should be shut down
Re: Wkipedia violates federal law
Community Center
15 Years Ago
by jwise08
We are not going after Freedom of Speech we are going after, tortuous interference with economic gain. Which is a California Tort. They are a public forum and with the tax benefit, they are required to follow our State and
Federal
Laws. Including but not limited to the First Amendment.
Re: Wkipedia violates federal law
Community Center
15 Years Ago
by jwise08
… tax benefit, they are required to follow our State and
Federal
Laws. Including but not limited to the First Amendment. They…
Re: Wkipedia violates federal law
Community Center
15 Years Ago
by Kegtapper
[QUOTE=jwise08;722206]Wikipedia are violating
federal
laws 1. freedom of speech 2. blocking users from the …
A Federal CIO Position?
Hardware and Software
Networking
15 Years Ago
by BP Grampa
… and politics as usual. What do you think of a
federal
CIO position--good idea or bad idea?
Governments Using Twitter to Update Constituents
Digital Media
Digital Marketing
15 Years Ago
by slfisher
Federal
, state, county, and city governments and agencies are beginning to …://www.alleyinsider.com/2008/10/us-government-on-twitter"]
federal
Twitter source[/URL]s (with more added in the comments…
Uncertainty Plagues Technology Stocks
Programming
Databases
15 Years Ago
by Brian.oco
Federal
Reserve Chairman Ben Bernanke is between a rock and a …
Negative Student Facebook Pages Ruled Free Speech
Digital Media
Digital Marketing
14 Years Ago
by slfisher
Federal
magistrate Barry Garber has ruled that a lawsuit can proceed …
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by Salem
> if (status == 'm' || 'M') Should be [icode]if (status == 'm' || status == 'M')[/icode]
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by abarnett
great!! I didn't think that would have mattered but I got everything working! NOW I just need help with the function taxAmount calculation!
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by FerrousRex
Shouldn't the function prototype be above the int main()?
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by Salem
> Shouldn't the function prototype be above the int main()? It's legal to do that, but you might argue over the usefulness of doing such a thing.
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by FerrousRex
[QUOTE=Salem;462204]> Shouldn't the function prototype be above the int main()? It's legal to do that, but you might argue over the usefulness of doing such a thing.[/QUOTE] I didn't know it could be done any other way, my teacher told our class that it could only be put outside the main function.
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by WaltP
It works either way, but putting the proto in the function IMO just clutters up the function.
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by abarnett
but people you aren't focusing on the task at hand!! I need help with my function taxAmount!
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by WaltP
[QUOTE=abarnett;462877]but people you aren't focusing on the task at hand!! I need help with my function taxAmount![/QUOTE] Sorry. [QUOTE=abarnett;461982]great!! I didn't think that would have mattered but I got everything working! NOW I just need help with the function taxAmount calculation![/QUOTE] Ahh, that's why. Help with what? …
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by abarnett
I need help with the function taxAmount in the program above at the very top! sorry about that
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by Lerner
I don't see where you initialize standardExemption before you try to use it in calculation of taxableIncome. Once you have taxableIncome you need to subject it to the pertinent tax rate given in the instructions before returning the tax as taxableIncome isn't taxed at 100% (yet, anyway). You can use a series of if statements to determine the …
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by abarnett
[QUOTE=Lerner;464549]I don't see where you initialize standardExemption before you try to use it in calculation of taxableIncome. Once you have taxableIncome you need to subject it to the pertinent tax rate given in the instructions before returning the tax as taxableIncome isn't taxed at 100% (yet, anyway). You can use a series of if …
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by abarnett
[code] taxableIncome = salary - (1500.00 * numPerson) - amtInPension - standardExemption; double taxableIncome; int standardExemption; if (tax >= 0 || tax <= 15000) taxableIncome * .15 else if (tax >= 15001 || tax <= 40000) taxableIncome - 2250 else if (tax > 40000) taxableIncome …
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by Lerner
As far as I can see, ccording to the instructions in the first post the only place the importance of single vs married comes in is in the calculation (besides combining income if married) is in determining the standard exemption. Once you have the taxable income, the actual tax rate is the same. >>Other then that, does this look right…
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by abarnett
does this look correct then? [code] double taxAmount(int numPerson, double salary, double amtInPension, int standardExemption) { double taxableIncome, marginalIncome, marginTax; int standardExemption; int tax; int baseTax, totalTax; taxableIncome = salary - (1500.00 * numPerson) - amtInPension - standardExemption;…
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by abarnett
whenever I try to run the program it give me a complier error saying illegal else w/o matching if? Any ideas on that? Also whenever I have [code] int standardExemption [/code] it says: redefinition of formal parameter 'standardExemption'
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by Lerner
It seems you overlooked my note that I posted pseudocode. Pseudocode means you leave out details, sometimes lots, sometimes a little. Often the details left out are syntax related details since they are so pickyunish. Pretend you're debugging my code by entering the appropriate details to my pseudocode before you try to run it in your program. …
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by abarnett
[QUOTE=Lerner;465010] If the code you posted in the first post was actually yours, much of the "debugging". like appropriate use of {}s, shouldn't be too hard. [/QUOTE] Yes it's my code. Granted I had some help with it. It was MY code. and here is MY code again. [code] #include <iostream> #include <string> using …
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by Lerner
Yes, that's what I was talking about. The {} are appropriate and the variable names used and methods of calculation are consistent. Very good. Now, back in main() after asking for amtInPension with this: cout << "Please enter amount that you want to contribute to the Pension Plan: "; cin >> amtInPension; If …
Re: Calculate Federal Tax
Programming
Software Development
16 Years Ago
by abarnett
[code] void getData() { char status, answer; int noofChildren; double salary, amtInPension, amtdeducted; int numPerson, standardExemption; double tax; cout << "Please enter your Marital Status: [M]arried or [S]ingle "; cin >> status; cout << endl; if (status == 'm…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC