Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Programming help =*(
#3
Devil's Sunrise Wrote:taxed is an integer. You try to assign it a double-value. Try taxed = (int) grossPay * 0.15;, or change taxed to a float value/double.

tyty =D. I just changed the grossPay , taxed, and net to float rather than int, and i worked just fine. I'm here doin homework for the next 5 hours til class starts so I might have some more questions lol Excellent
Reply


Messages In This Thread
Programming help =*( - by DrRusty - 2009-11-17, 01:32 PM
Programming help =*( - by Nikkey - 2009-11-17, 01:46 PM
Programming help =*( - by DrRusty - 2009-11-17, 01:58 PM
Programming help =*( - by Russt - 2009-11-17, 09:50 PM
Programming help =*( - by DrRusty - 2009-11-17, 09:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)