Develop a program that will input information about a customer’s credit card information.
Customers 1 – Input Program
Develop a program that will input information about a customer’s credit card information. You do not know these values in advance so the user will input all the following information: account number (whole number), beginning balance for the month (what customer owed prior to this month), total of all new charges for the month, total of all credits (payments) for the month. It will then calculate and print the ending balance of what they owe you.
The user will input all the data, save into variables (use meaningful names), and then calculate the ending balance (new amount customer now owes). Print out the information about the account – account number (just what they inputted to label the customer’s account) and ending balance (what you calculated). Use separate prompts and inputs, a separate assignment statement for ending balance, and separate print statements where you label what you are printing. When you print the output for the customer’s ending balance, be sure to print 2 decimal places for the money ending balance.
Run your program with the following accounts in three separate runs.:
INPUT:
Account Number: 100
Beginning Balance: 2517.52
Charges: 1523.35
Credits: 500.00
Account Number: 200
Beginning Balance: 1478.85
Charges: 729.71
Credits: 600.00
Account Number: 300
Beginning Balance: 1726.48
Charges: 1173.52
Credits: 400.00
Label the following output for each customer:
OUTPUT:
(for all customers)
Account Number:
Ending Balance:
Document your program with at least name, exercise number, and at least 5 lines explaining what the program does. Execute your program with the above input.
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.
