Assign the current value in holdIncome to the variable YTDIncome.
Assign the current value in holdIncome to the variable YTDIncome.
Do you mean
YTDIncome = holdIncome;
?
If you do, maybe you should get some help with C++. If that's not what you meant, you need to get some help with communicating with others.
You deserve to fail this. This is the most basic thing you can possibly ask, and you've asked it not once, but twice, on the board.
Go read your book.
-Govtcheez
[email protected]