The change requests #22 specify that you are to read the data for the interest rates for the 7 year, 15 year and 30 year loans.
Specifically, you are to use xml data for this file assignment.
Each assignment should be a separate Visual Basic Project. This way you can compress the files and submit them to your individual folders and for your learning team. Visual Basic uses many files for each project so you need to compress the complete folder structure for this assignment. If you do not submit, the necessary files so that I can rebuild and compile your project you will not receive any credit. I will under no circumstance accept just binary or executable programs.
Write the program in VB.Net (not Web based) with a graphical user interface. Allow the user to select which way they want to calculate the mortgage: By input of the amount of the mortgage, the term of the mortgage and the interest rate of the mortgage or By input of the amount of the mortgage and then select from a menu of mortgage loans:
- 7 years at 5.35%
- 15 years at 5.5%
- 30 years at 5.75%
In either case, display the mortgage payment amount. Then, list the loan balance and interest paid for each payment over the term of the loan. Allow the user to loop back and enter a new amount and make a new selection, or quit. Load the interest rates for the 7 year, 15 year, and 30 year loans from a file. Insert comments to document the program.
There are two files here:
1. The first is a very simple text file that we will read in and the convert it to uppercase.
2. The second are the VB 2005 project files for reading this file.
PLEASE NOTE: That the program expects the text file to be located in c:\temp\[login to view URL] You may want to change the location to suit your needs. This week you are to modify, or create a program that read in an xml file which contains the interest rate and term for three values.
Taking a look at the xml file we will be using this week:
<UoP>
<Account>
<FirstName>John</FirstName>
<LastName>Doe</LastName>
<AccountType>S</AccountType>
<Interest>.056</Interest>
<Deposit>20000</Deposit>
</Account>
</UoP>
PLEASE NOTE: that each xml file needs to have a root element, in this case we define the root element as <UoP>, An XML file must have one and only one root element!
So the first thing we see is an Account, followed by the fields of the Account. (first name, last name, account type, interest rate, and deposit). Note that each field is closed by an ending tag, So when we reach the </Account> we can assume that all of the data for the account has been read.
***Please contact me directly for naming conventions***