3 function program returning incorrect answerI'll be upfront: this is a homework assignment. I'm not looking for a fix, but I am confused as to w...