someone please explain to me what I'm doing incorrectly. I don't necessarily wish that you hold my hand and rewrite the code for me like a lot of others request, but if you feel like writing the incorrect line, pointing out the incorrect line, or telling me what I'm missing and why, that'd be awesome!
This isn't homework.. I'm just brushing up my basic coding. Been working on the practice solutions that were posted on this website, so I"ll post my issue with the function solution as well in a later post. Thank you.!
--edit: I just got into the habbit of typing up all my includes, for some reason or another, and #include <string> has no play in this whatsoever. no need to point it out :)
Change double grossPay=hoursWeek + hourlyPay;
to double grossPay;. Then after cin >> hoursWeek >> hourlyPay >> FWT >> FICA >> stateTax; you can do just grossPay=hoursWeek + hourlyPay
With those changed @khal I am not getting an integer followed by a decimal then e^??? anymore, just a whole integer of 2 digits. Is there anything wrong with the calculations?