Question: You have been tasked with constructing a computer program that will read in a data file that has relevant information to compute fixed payments for

You have been tasked with constructing a computer program that will read in a data file that has relevant information to compute fixed payments for customer loan applications. The program will prompt the user for a text file for input that contains a number of customer data as listed: Account number, term in years, principal loan amount, and the annual percentage rate of interest. Your program should read the data into a two-dimensional array. It should then compute the monthly payments for each record saving the relevant data to an array. Finally the program should prompt the user for an output file and write the account numbers, and the fixed monthly payment for each loan from where your program stored the data previously in an array.
You may again team up with another student on this assignment, but ensure that you both understand 2D arrays, file pointers and how to use them for the exam. The teaming is meant to allow peer guidance and discovery in learning and applying the materials.You have been tasked with constructing a computer program that will read in a data file that has relevant information to compute fixed payments for customer loan applications. The program will prompt the user for a text file for input that contains a number of customer data as listed: Account number, term in years, principal loan amount, and the annual percentage rate of interest. Your program should read the data into a two-dimensional array. It should then compute the monthly payments for each record saving the relevant data to an array. Finally the program should prompt the user for an output file and write the account numbers, and the fixed monthly payment for each loan from where your program stored the data previously in an array.
but ensure that you both understand 2D arrays, file pointers and how to use them for the exam. The teaming is meant to allow peer guidance and discovery in learning and applying the materials.
Requirements:
1.) Must use a user supplied file name to read in the supplied data file.
2.) Uses a 2d array to read the input data into. for no 2d array.
3.) Must calculate the fixed payments and save to either the same array or a second array before writing to new file.
4.) Must use standard programming practices for naming and placement of variables.
5.) Must write the required data to a new file using the user supplied file name.
6.) Program must use appropriate prompts to get inputs and inform the user.
7.) Must be neat and orderly,
8.) Program must compile and solve the problem. Deduction at my discretion.

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!