![]() |
|
#1
|
|||
|
|||
TaxAmount rate is always wrongHello everyone first time posting so feel free to let me know if I am posting wrong in anyway.
I was have to create a program with the following information. (Attache in pdf file) I almost got it to work, however when it come down to the TaxAmount the rate is always wrong. For example if the commission is $2000.00 It will multiply by .06 instead of .09. Thanks in advance //EZ-TECH// CPP / C++ / C Code:
Last edited by LuciWiz : 18-Jul-2012 at 02:51.
Reason: Please insert your C++ code between [cpp] & [/cpp] tags
|
|||
|
#2
|
||||
|
||||
Re: Due Tomorrow! Can't seeem to get the if statements rightHint: comparing 'Commission' before it is assigned any value?
I enabled warnings when compiling your code, and got this output: Code:
__________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: Due Tomorrow! Can't seeem to get the if statements rightThank you very much, I thought I tried this but I guess I over looked it. Programs are tricky and I'm new to this, sorry for the noob thread.
Again thank you for the support and timely reply. ![]() |
Recent GIDBlog
GID Spam Detector 1.1.0 by gidnetwork
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help with tele directory problem due tomorrow | wbsquared03 | C++ Forum | 5 | 01-Nov-2004 23:10 |
| Change Default Project Statements in Dev-C++?? | BobbyMurcerFan | C++ Forum | 1 | 22-Jun-2004 23:59 |
| Pointers to Functions (was Saving some if statements) | TekiFreek | C++ Forum | 17 | 17-Jun-2004 11:25 |
Network Sites: GIDNetwork · GIDApp · GIDSearch · Learning Journal by J de Silva, The