The following table contains the statistics for a stock portfolio (As of January 2,2002)
Stock # of Shares Purchase Purchase Price Current price
Amgen 200 8/19/97 12.625 56.44
Delta Airline 100 12/3/1997 55.875 29.26
Novell 500 8/27/97 10.375 4.59
PPG 100 12/18/97 28.375 51.72
Timken 300 3/13/98 34.625 16.18
a.) Compose program to create the sequential file [login to view URL] contianing information in the table above.
b.) Design as such...Be able to enter the 1.) stock 2.) current price 3.) Date Purchased 4.) # of shares & 5.) purchase price. These will all be their own individual text boxes. Buttons should include 1.) Add Stock 2.)Display Stocks & 3.) Quit. There will be a large text box on the bottom to display all the stocks and their information when "Display Stocks" is pressed. Add an additional stock onto the end of the file [login to view URL] when the user clicks the add stock button. The data for the appropriate stock should be read from the appropriately labaled textbox.
Email with questions.