ot copy the code from other resources it's completely wrong.   Thank you

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Do not copy the code from other resources it's completely wrong.  

Thank you

 

 

Page |1
Credit Card Statement
Assume that a credit card company has asked you to write a simulator to generate a credit card
statement. This program must allow user to enter required information and the program will then
use the information to generate the statement based on the inputs.
Create the following Python Programs based on the instructions below.
Create a Python Program, CreditCard.py, which prompts the user to enter the following information.
а.
Credit card number
b. Credit limit
c. Amount of charge
After the user enters all information, the program will then calculate the followings.
a.
Available credit (If the available credit is negative, the program should display it as 0.00)
b. Minimum payment due on the credit card which is 2.5% of the current balance
The Account Summary should show the following outputs.
a. Credit card number
b. Credit limit
C.
Current balance
d. Available credit
e. Minimum payment due
Sample Run 1: (Under Limit)
Sample Run 2: (Over Limit)
Enter Credit Card Number: 4500-5600-8950-5956 Enter Credit Card Number: 4560-5630-520
Enter Credit Limit: 2000.00
Enter Charge: 1500.25
Enter Credit Limit: 1000.00
Enter Charge: 1025.25
Account Summary
Account Summary
Credit Card: 4500-5600-8950-5956
Credit Card: 4560-5630-5200-5600
Credit Limit: $2000.00
Credit Limit: $1000.00
Current Balance: $1500.25
Current Balance: $1025.25
Available Credit: $499.75
Available Credit: $0.00
Minimum Payment Due: $37.51
Minimum Payment Due: $25.63
Transcribed Image Text:Page |1 Credit Card Statement Assume that a credit card company has asked you to write a simulator to generate a credit card statement. This program must allow user to enter required information and the program will then use the information to generate the statement based on the inputs. Create the following Python Programs based on the instructions below. Create a Python Program, CreditCard.py, which prompts the user to enter the following information. а. Credit card number b. Credit limit c. Amount of charge After the user enters all information, the program will then calculate the followings. a. Available credit (If the available credit is negative, the program should display it as 0.00) b. Minimum payment due on the credit card which is 2.5% of the current balance The Account Summary should show the following outputs. a. Credit card number b. Credit limit C. Current balance d. Available credit e. Minimum payment due Sample Run 1: (Under Limit) Sample Run 2: (Over Limit) Enter Credit Card Number: 4500-5600-8950-5956 Enter Credit Card Number: 4560-5630-520 Enter Credit Limit: 2000.00 Enter Charge: 1500.25 Enter Credit Limit: 1000.00 Enter Charge: 1025.25 Account Summary Account Summary Credit Card: 4500-5600-8950-5956 Credit Card: 4560-5630-5200-5600 Credit Limit: $2000.00 Credit Limit: $1000.00 Current Balance: $1500.25 Current Balance: $1025.25 Available Credit: $499.75 Available Credit: $0.00 Minimum Payment Due: $37.51 Minimum Payment Due: $25.63
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY