Question: Hide Assignment Information Instructions String & Files Practice Problem Complete the following program: Read in and store the data from the file called January.txt.This file

Hide Assignment Information

Instructions

String & Files Practice Problem

Complete the following program:

  1. Read in and store the data from the file called "January.txt".This file includes the customer's account number, beginning balance, withdrawals, and deposits (in that order).NOTE: Make sure you look at the contents of the file before you begin the project!
  2. Prompt the user for his/her name and age.
  3. Convert the customer's name to a username that consists of the first letter of the first name, the first 5 digits of last name, and the customer's age.All letters of the username should be lowercase. Example: Michael Jordan, age 37 should convert to: mjorda37
  4. Convert the account number to the following format: XXX-XX-XXX
  5. Calculate the total of the deposits, the total of the withdrawals, and the ending balance in the account.
  6. Create a report similar to the following toboth the screen and a filecalled "JanuaryStatement.txt":
  7. print("{:30s}${:10.2f}".format("Beginning Balance:", beginBalance) .center(80))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!