This simple program is supposed to calculate principal and interest as you make payments.
If the payment is <= the remaining principal, the payment amount is reduced accordingly.
When I run it , it does NOT show that I set the principal (ypr) = to 0.
In other words, line 19 gets skipped in the compiled code, where I set ypr= 0.
Am I missing something here? Why would the compiler ignore that line?