Lab 16 - File I/.O
16-1
- Create a data file that will allow you to store the following data:
- first name
- last name
- street address
- p o box
- city
- state
- zip
- Write the data to a file named address_file.txt
- print a copy of your data from the data file (open the file in the notepad
and print!)
16-2
- Write a program that will allow the user to enter a series of numbers.
- Allow the user to decide when to stop entering data (i.e., when they answer
a question with an 'n' or input a 0).
- Put the data in a file named numbers.dat.
16-3