Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Louball Group Title

I'm on problem set 1 part 2. I seem to have the code working but when I try change it to be multiples of 0.01 cent it gives me a wrong answer. It comes back with Enter the outstanding balance on your credit card:1200 Enter the annual credit card interest rate as a decimal:.18 RESULT Monthly payment to pay off debt in one year: 110.02 Number of months needed: 12 balance: -0.04 same code worked for the problem set and should work when changed to cent. I'm confused..anybody have an idea where I could be going wrong?

  • one year ago
  • one year ago

  • This Question is Open
  1. bwCA Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    when you don't post your code, it is hard for us to comment are you saying that in your loop to determine the minimum payment, you are incrementing the payment by 0.01 instead of 10.0 and you are getting a wrong answer? Changing the amount you increment the payment by should only affect the number of iterations the loop makes - except that the answer will be slightly different because you have finer increments. code pasting sites: - http://dpaste.com - http://pastebin.com - http://www.repl.it/ - http://pastie.org - http://codepad.org - http://ideone.com - there are many more ... paste your code there and post the link here. select Python syntax highlighting when u paste.

    • one year ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...


  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.