CS 101 Spring
2005
Assignment 2 ( 100 Points )
Due : Fri. Feb 25th 2005
Write a program that uses the data in the file
“Charges.txt” to display the end-of-month credit card balances of three people (Each
line gives a person’s name, beginning balance, purchase during month, and
payment for the month).
The
end-of-month balance is calculated as
[finance charges] + [beginning-of-month balance] +
[purchases] – [payment],
where
the finance charge is 1.5 percent of the beginning-of-month balance.
“Charges.txt”
file should be located in ‘C’ drive, so the path to access the file would be
“C:\Charges.txt”.
The
file should contain information similar to

Your
output should look similar to

Tips:
·
Follow Commenting
Standards
·
Don’t forget to submit the form file ( only .frm file is sufficient)
·
Give meaningful names to controls ( 3 letter prefix )
·
Attend labs to get help