In Problem Set 1 (Paying off Credit Card Debt) Problem No 3, I get the following result Monthly payment to pay off debt in 1 year: 91679.89 Number of months needed: 12 Balance: 0.21 Instead of RESULT Monthly payment to pay off debt in 1 year: 91679.91 Number of months needed: 12 Balance: -0.12 Is my program still right?
yes? I'm not an authority. but I recal in class he used two different techniques (exhaustive enumeration vs bisection search) which each yielded different answers. but he said they were both valid. regarding your negative answer, I thought the problem set said that was okay too. again. I'm not an authority. nor can I see your code. nor would I be able to give you an answer even if I could see you code.
Join our real-time social learning platform and learn together with your friends!