Description
You are to write a program that will help the user manage their checkbook. The program will prompt the user to enter the check number, the date, the name the check is made out to, and the amount until the check number entered is 0. Make sure you use the appropriate data types. Each entry will be saved to a file named check-ledger.dat After the user enters a check number of 0, the program will display the check number, the date, the name the check is made to, and the amount for each record that has been saved in the file. After displaying all the records the program will end. The program should display a header line that identifies the data to be displayed from the file. The header will precede the data that will be listed. (e,g., CHECK# DATE CHECK MADE TO AMOUNT) Your program will use methods for each function it performs (e.g., housekeeping, entering data, writing data to the file, reading data from the file, finishing the program. There should be at least three methods used.