: : : : :
: : : : : all of it.... i am confused, if someone can start me, i believe i can finish the code
: : : : :
: : : :
: : : :
: : :
: : :
: : : solve it with pencil & paper first, then maybe you can get starded with the C program. Also make sure you study your book and do the problems at the end of the chapters.
: : :
: : :
: : : int main()
: : : {
: : : // put your code here
: : :
: : : return 0;
: : : }
: : :
: : :
: :
: : o.k. thanks
: :
: :
:
:
i know the pseudo code goes like this, now i have to do the c++
code..
> // Read in the HoursWorked (I assume you are using
> cin statements)
> // Read in the PayRate
> // Calculate the gross pay (Gross Pay = HoursWorked
> * PayRate)
> // Next Calculate the TaxRate
> // If (GrossPay < 100)
> // TaxRate = .12
> // Else
> // TaxRate = .15
> // Now we can calculate the tax
> // Tax = TaxRate * GrossPay
> // And finally the NetPay
> // NetPay = GrossPay Tax