Python Forum
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Coding problem
#1
Program:
a
A credit card company computes a customer's "minimum payment" according to the following rule. The minimum payment is equal to either $10 or 2.1% of the customer's balance, whichever is greater; but if this exceeds the balance, then the minimum payment is the balance. Write a program to print out the minimum payment using min and max. Assume that the variable balance contains the customer's balance.
Reply


Messages In This Thread
Coding problem - by VISHU - Mar-16-2017, 05:04 AM
RE: Coding problem - by Larz60+ - Mar-16-2017, 05:17 AM
RE: Coding problem - by VISHU - Mar-16-2017, 05:24 AM
RE: Coding problem - by Larz60+ - Mar-16-2017, 06:54 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Armachat coding problem gad969 4 1,369 Mar-12-2023, 03:12 PM
Last Post: gad969
  Coding problem portfolio grade max70990 1 765 Dec-11-2022, 12:30 PM
Last Post: Larz60+
  coding problem from older book teddfirth 3 2,204 Mar-06-2021, 03:51 PM
Last Post: teddfirth
  Begginer coding problem wiktor 2 3,279 Jan-26-2018, 06:24 PM
Last Post: wiktor
  IR coding problem DPaul 3 2,817 Jan-09-2018, 08:02 AM
Last Post: DPaul
  new user coding problem mattkrebs 1 3,064 Mar-21-2017, 12:45 PM
Last Post: buran
  Incredibly basic coding problem AndyF 12 8,619 Feb-11-2017, 03:52 PM
Last Post: AndyF

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020