Search:

Type: Posts; User: robshirah

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    2,011

    OK once again thanks to all who helped, I finally...

    OK once again thanks to all who helped, I finally got it :D, here it is.


    #include <iostream.h>

    main()
    {
    double salary;
    double hours;
    double tax;
  2. Replies
    18
    Views
    2,011

    Ok, first of all id like to thank all those that...

    Ok, first of all id like to thank all those that helped : ) Now, I still have the same problem, the code is adding 40+ hours(overtime pay) to be more than it acually is.


    #include <iostream.h>...
  3. Replies
    18
    Views
    2,011

    I have another problem here, I added hours &...

    I have another problem here, I added hours & overtime into the program, overtime pay being salary+1, if over 40 hours. it compiles correctly but it takes the last dollar & rounds up, 41*11 = 451,...
  4. Replies
    18
    Views
    2,011

    Dougdbug you nailed it, thanks alot, & thanks to...

    Dougdbug you nailed it, thanks alot, & thanks to everyone for the help.
  5. Replies
    18
    Views
    2,011

    I did as you suggested, net = salary/tax; , with...

    I did as you suggested, net = salary/tax; , with salary input at 100 it gives me an answer of 400????? For some reason it seems to be multiplying (salary)100 times 25


    double salary; //workers...
  6. Replies
    18
    Views
    2,011

    Thanks alot

    Thanks alot
  7. Replies
    18
    Views
    2,011

    Newbie Question

    I want to get the workers salary, then display the salary after taxes are taken out(salary divided by 25%). So I need to know the correct way to divide salary by 25% then make it into a variable...
Results 1 to 7 of 7